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

Reply via email to