HTFC Forums

H.T.F.C.

How To Fix Computers





Go Back   HTFC Forums > Software Newsgroups > Windows XP > XP Networking

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1  
Old 02-03-2008, 05:48 PM
Phillip Armitage
 
Posts: n/a
Default XP Pro sp2 - Entries in hosts file not seen

I have a computer running Xp Pro sp2. It can access the Internet, obtaining
addresses from the ISP's DNS servers. A proxy server is not in use.

If I add a site entry to the c:\windows\system32\drivers\etc\hosts file,
then try to access that site through IE, I get a DNS Resolver error. If I do
an NSLOOKUP, sites not found.

I've checked the registry entry
hklm\system\CurrentControlSet\Services\tcpip\param eters\database path and
it's pointing to the location of the hosts file.

Anyone able to suggest a reason as to why this particular system can't find
entries made to the hosts file?

I look forward to your response



Reply With Quote
Sponsored Links
  #2  
Old 02-03-2008, 06:14 PM
Steve Winograd
 
Posts: n/a
Default Re: XP Pro sp2 - Entries in hosts file not seen

On Sun, 3 Feb 2008 12:48:32 -0500, "Phillip Armitage"
<armitagep@look.ca> wrote:

>I have a computer running Xp Pro sp2. It can access the Internet, obtaining
>addresses from the ISP's DNS servers. A proxy server is not in use.
>
>If I add a site entry to the c:\windows\system32\drivers\etc\hosts file,
>then try to access that site through IE, I get a DNS Resolver error. If I do
>an NSLOOKUP, sites not found.
>
>I've checked the registry entry
>hklm\system\CurrentControlSet\Services\tcpip\para meters\database path and
>it's pointing to the location of the hosts file.
>
>Anyone able to suggest a reason as to why this particular system can't find
>entries made to the hosts file?
>
>I look forward to your response


What does the site entry that you added to the Hosts file say? Are
you sure that the syntax is right?
--
Best Wishes,
Steve Winograd, MS-MVP (Windows Networking)

Please post any reply as a follow-up message in the news group
for everyone to see. I'm sorry, but I don't answer questions
addressed directly to me in E-mail or news groups.

Microsoft Most Valuable Professional Program
http://mvp.support.microsoft.com
Reply With Quote
  #3  
Old 02-05-2008, 06:40 PM
Phillip Armitage
 
Posts: n/a
Default Re: XP Pro sp2 - Entries in hosts file not seen

It's exactly the same syntax that I've used in dozen's of other computers
located at site offices. Take one default hosts file and add to it two
entries of the form

xxx.xxx.xxx.xxx{8 spaces}host.mydomain.com

Close all running copies of Internet Explorer, or reboot system. Next time
that you go into IE, entering host.mydomain.com in the address field takes
you to the web server at xxx.xxx.xxx.xxx

The system I'm dealing with appears to be ignoring the hosts file. Did a
test on another computer and realised that nslookup doesn't show hosts file
entries, so the fact that that failed on the remote system I'm having
problems with means nothing.

Anyone know of a utility which would log dns activities. That is, could I
load and run a tool on the problem machine, one which would show how IE was
resolving domain names? Just an idea?

Phil


"Steve Winograd" <bc070521m@comcast.net> wrote in message
news:q21cq39vmi70snkoqbn29gkh2h64cnip9a@4ax.com...
> On Sun, 3 Feb 2008 12:48:32 -0500, "Phillip Armitage"
> <armitagep@look.ca> wrote:
>
> >I have a computer running Xp Pro sp2. It can access the Internet,

obtaining
> >addresses from the ISP's DNS servers. A proxy server is not in use.
> >
> >If I add a site entry to the c:\windows\system32\drivers\etc\hosts file,
> >then try to access that site through IE, I get a DNS Resolver error. If I

do
> >an NSLOOKUP, sites not found.
> >
> >I've checked the registry entry
> >hklm\system\CurrentControlSet\Services\tcpip\para meters\database path and
> >it's pointing to the location of the hosts file.
> >
> >Anyone able to suggest a reason as to why this particular system can't

find
> >entries made to the hosts file?
> >
> >I look forward to your response

>
> What does the site entry that you added to the Hosts file say? Are
> you sure that the syntax is right?
> --
> Best Wishes,
> Steve Winograd, MS-MVP (Windows Networking)
>
> Please post any reply as a follow-up message in the news group
> for everyone to see. I'm sorry, but I don't answer questions
> addressed directly to me in E-mail or news groups.
>
> Microsoft Most Valuable Professional Program
> http://mvp.support.microsoft.com



Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
updating the hosts file Dooma Windows XP 8 01-23-2008 02:25 PM
Hosts file Racey Windows XP 5 09-18-2007 05:25 PM
Use of the HOSTS File Arthur Shapiro Windows XP 1 04-09-2007 07:53 PM
DNS Client does not use all entries in HOSTS file guy XP Networking 0 06-10-2004 01:53 PM
hosts file still changing Alessandro XP Networking 2 05-14-2004 08:27 PM


All times are GMT. The time now is 12:44 AM.


Powered by vBulletin® Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
© 2004 - 2007 Web-S-Sense Pty. Ltd. Usenet and forums posts © their respective authors.
Ad Management by RedTyger