Host resolution slow

kentcb

OSNN Newbie
Joined
16 Mar 2007
Messages
3
Hi,

I have a website running on my main machine at home (WinXP SP2). I have set the website as my home page in my browser (IE7) using the host name.

Every time I open IE7 there is a long lag between the browser opening and the home page opening (up to 10 seconds). Using localhost instead of the host name is likewise very slow. When I changed the home page to use the IP address instead of the host name, that works very quickly.

Anyone know why using the host name would be so much slower?

Thanks
 

LordOfLA

Godlike!
Joined
2 Feb 2004
Messages
7,026
disable the DNS client service.

You can do this by bringing up the run dialogue (windows key + R)
type services.msc and click okay.
Scroll down to DNS Client and right click it.
Choose properties and set the run mode to disabled from automatic. Click stop then apply and then ok.
exit the services control panel and run the host lookup again. It should be faster.
 

LordOfLA

Godlike!
Joined
2 Feb 2004
Messages
7,026
That's very odd. Hmm I'm going out on a limb here but take a look at http://www.opendns.com/ and tell windows to use their DNS servers instead of your ISP's. They have detailed instructions if you are not sure how to do this yourself.
 

fitz

Woah.. I'm still here?
Political Access
Joined
26 Apr 2004
Messages
4,084
lord, that shouldn't effect the resolution for the local host name though. As I understand it, he mentions no issues when resolving external hosts, only his own machine hostname.

Just out of curisoty, if you drop into a command prompt and do nslookups, do you see the same delay?
 

LordOfLA

Godlike!
Joined
2 Feb 2004
Messages
7,026
It might since windows tries external lookup first in some cases.
 

Members online

No members online now.

Latest forum posts

Latest profile posts

Electronic Punk wrote on Sazar's profile.
Rest in peace my friend, been trying to find you and finally did in the worst way imaginable.
Terrahertz wrote on Electronic Punk's profile.
Yo fellas!
Electronic Punk wrote on Sazar's profile.
Where are you buddy?
Perris Calderon wrote on Electronic Punk's profile.
Hey EP! All good with me, applying for Microsoft MVP right now, should have done this a while ago.

Notifications don't work, I only found your response by coming back to hunt up some threads, if you want, give me your email address so we can keep in touch easier!
Perris Calderon wrote on Electronic Punk's profile.
EP, glad to see you come back and tidy up...did want to ask a one day favor, I want to enhance my resume , was hoping you could make me administrator for a day, if so, take me right off since I won't be here to do anything, and don't know the slightest about the board, but it would be nice putting "served administrator osnn", if can do, THANKS

Been running around Quora lately, luv it there!

Forum statistics

Threads
61,997
Messages
673,414
Members
5,591
Latest member
nodee