I agree with Tim. if sufi is trying to get IPs and Host names of his company network, why does he need tools. He can contact his network administrator and get those.
Thanks, Sridhar Boddula, Enterprise Internet Services, 781-302-5832. > -----Original Message----- > From: A mailing list about Java Server Pages specification and reference ><[EMAIL PROTECTED]>@STATESTREET On Behalf Of "Chen, Gin" ><[EMAIL PROTECTED]> > Sent: Thursday, February 07, 2002 9:46 AM > To: [EMAIL PROTECTED] > Subject: Re: How to convert hostname to IP address ? > > Hi Sufi, > > I know some people were talking about the possibility that you are > writing some type of worm. I kind of suspect the same thing now because your > asking about turning hostnames into IP addresses even though u said that you > were runnin this program on your own network. > But I think I'll just play blind and give you a site that will help > you out immensely with your questions (especially the one about finding the > type of servers they use). > No I'm not condoning the writing of a worm if in fact that is what's > happening. I just thought that everyone might be interested in this site. > Granted most of the things on here is easily obtainable though request > headers meta data and such but it so easy to write a scrap for this that why > bother finding all the variables to check? > > http://www.netcraft.com/ > > -Tim > > -----Original Message----- > From: sufi malak [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 06, 2002 3:22 PM > To: [EMAIL PROTECTED] > Subject: Re: How to convert hostname to IP address ? > > > It looks like you misundersand my question, I meant how to convert hostname > to Ip address programatically, for example to convert the ip address to > hosname you can do : > InetAddress ia = InetAddress.getByName(ip); > String hostname = ia.getHostName(); > > But how about the opposite, from hostname ti IP ????? > > > >From: Richard Yee <[EMAIL PROTECTED]> > >Reply-To: A mailing list about Java Server Pages specification and > >reference <[EMAIL PROTECTED]> > >To: [EMAIL PROTECTED] > >Subject: Re: How to convert hostname to IP address ? > >Date: Wed, 6 Feb 2002 12:08:14 -0800 > > > >Sufi, > >You should also be able to run the nslookup command from a command prompt. > >It works in both the NT/XP and Unix environments. You can use it to also > >look up a host name from an IP address. > > > >Regards, > > > >Richard > > > >At 07:53 PM 2/6/2002 +0000, you wrote: > >>Hi, how to convert a hostname to an IP address ?? > >>thanks > >> > >> > >> > >>_________________________________________________________________ > >>Join the world's largest e-mail service with MSN Hotmail. > >>http://www.hotmail.com > >> > >>========================================================================== > = > >>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff > >>JSP-INTEREST". > >>For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST > >>DIGEST". > >>Some relevant FAQs on JSP/Servlets can be found at: > >> > >>http://archives.java.sun.com/jsp-interest.html > >>http://java.sun.com/products/jsp/faq.html > >>http://www.esperanto.org.nz/jsp/jspfaq.jsp > >>http://www.jguru.com/faq/index.jsp > >>http://www.jspinsider.com > > > >=========================================================================== > >To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff > >JSP-INTEREST". > >For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST > >DIGEST". > >Some relevant FAQs on JSP/Servlets can be found at: > > > >http://archives.java.sun.com/jsp-interest.html > >http://java.sun.com/products/jsp/faq.html > >http://www.esperanto.org.nz/jsp/jspfaq.jsp > >http://www.jguru.com/faq/index.jsp > >http://www.jspinsider.com > > > > > _________________________________________________________________> > Send and receive Hotmail on your mobile device: http://mobile.msn.com > > =========================================================================== > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff > JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST > DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://archives.java.sun.com/jsp-interest.html > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.jsp > http://www.jguru.com/faq/index.jsp > http://www.jspinsider.com > > =========================================================================== > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://archives.java.sun.com/jsp-interest.html > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.jsp > http://www.jguru.com/faq/index.jsp > http://www.jspinsider.com =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
