PC Review Forums Newsgroups Windows XP Windows XP Security /etc/HOSTS

Reply

/etc/HOSTS

 
Thread Tools Rate Thread
Old 30-06-2003, 04:23 AM   #1
Impatient
Guest
 
Posts: n/a
Default /etc/HOSTS


How can I find IP addresses for favorite websites to add
to my HOSTS file to bypass DNS lookups?
  Reply With Quote
Old 30-06-2003, 04:48 AM   #2
Kent W. England [MVP]
Guest
 
Posts: n/a
Default Re: /etc/HOSTS

Use the command "nslookup" but be aware that many large web sites have
lots of IP addresses and they change often. Some big web sites use
Akamai and other distributed content providers that vastly increase the
IP addresses used.

Bypassing DNS lookups saves you about a third of a second. You'd save
more time keeping the IE window open or adding some more RAM.

--
Kent W. England, Microsoft MVP for Windows



"Impatient" <fake@fake.com> wrote in
message news:030401c33ebf$5776e070$a501280a@phx.gbl...

> How can I find IP addresses for favorite websites to add
> to my HOSTS file to bypass DNS lookups?


  Reply With Quote
Old 30-06-2003, 05:52 AM   #3
NT Canuck
Guest
 
Posts: n/a
Default Re: /etc/HOSTS

"Kent W. England [MVP]" <kwe@mvps.org> wrote in message news:uq$tdMsPDHA.1556@TK2MSFTNGP10.phx.gbl...

> Bypassing DNS lookups saves you about a third of a second. You'd save
> more time keeping the IE window open or adding some more RAM.


Hi Kent,

Actually times to resolve a remote url/site can easily be 5 seconds,
and occassionally 10-12 seconds depending on client or remote server
TTL and settings...plus Internet "weather" (connecivity plays a part).
Typically they are within a range of 0.000 (cached) to around 3 seconds.

We have one test program "nstest" that you can modify the uri's
to suit what/where you'd like to see results on...
http://ntcanuck.com/Beta/

--
NT Canuck
http://ntcanuck.com


  Reply With Quote
Old 30-06-2003, 10:19 PM   #4
Kent W. England [MVP]
Guest
 
Posts: n/a
Default Re: /etc/HOSTS

I should have said "on average". Thanks for the link.

--
Kent W. England, Microsoft MVP for Windows



"NT Canuck" <ntcanuck@hotmail.com> wrote in message
news:ieQLa.321906$ro6.7860830@news2.calgary.shaw.ca...
> "Kent W. England [MVP]" <kwe@mvps.org> wrote in message

news:uq$tdMsPDHA.1556@TK2MSFTNGP10.phx.gbl...
>
> > Bypassing DNS lookups saves you about a third of a second. You'd

save
> > more time keeping the IE window open or adding some more RAM.

>
> Hi Kent,
>
> Actually times to resolve a remote url/site can easily be 5 seconds,
> and occassionally 10-12 seconds depending on client or remote server
> TTL and settings...plus Internet "weather" (connecivity plays a part).
> Typically they are within a range of 0.000 (cached) to around 3

seconds.
>
> We have one test program "nstest" that you can modify the uri's
> to suit what/where you'd like to see results on...
> http://ntcanuck.com/Beta/
>
> --
> NT Canuck
> http://ntcanuck.com
>
>


  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off