PDA

View Full Version : Avoiding DNS lookup via HOSTS file


Impatient
December 14th 03, 11:31 AM
How can I find the IP addresses of sites so that I can
add them to my HOSTS file to save DNS lookup time?

Ideally, I'd like a tool that would return an IP address
given a URL.

David
December 14th 03, 11:32 AM
"Impatient" > wrote in news:066801c35bdb$788b5af0
:

> How can I find the IP addresses of sites so that I can
> add them to my HOSTS file to save DNS lookup time?
>
> Ideally, I'd like a tool that would return an IP address
> given a URL.

I usually just ping the host. This will return an IP.

Pinging www.yahoo.akadns.net [66.218.71.90] with 32 bytes of data:

Reply from 66.218.71.90: bytes=32 time=26ms TTL=53
Reply from 66.218.71.90: bytes=32 time=23ms TTL=53
Reply from 66.218.71.90: bytes=32 time=21ms TTL=53
Reply from 66.218.71.90: bytes=32 time=30ms TTL=53

Ping statistics for 66.218.71.90:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 21ms, Maximum = 30ms, Average = 25ms

David

Google