Re: system32\drivers\etc\hosts doesn't get read



On Sun, 21 May 2006 11:00:02 -0700, the friendly display name
<thefriendlydisplayname@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

"Chuck" wrote:

On Sun, 21 May 2006 04:16:01 -0700, the friendly display name
<thefriendlydisplayname@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

I have added a few entries into the hosts file, but it doesn't get processed
by the system. I have exactly the same file used in a windows 2000 system,
and it worked.

Where is the problem?

Are the entries for local, or for distant, servers? For local servers, you
should use LMHosts (and enable LMHosts lookup). See my article on local name
resolution.
<http://nitecruzr.blogspot.com/2005/05/address-resolution-on-lan.html>
http://nitecruzr.blogspot.com/2005/05/address-resolution-on-lan.html

If these are distant servers, are you running the DNS Client service? If so,
remember to run "ipconfig /flushdns" after making changes. And make sure that
your computer is indeed using "...system32\drivers\etc\hosts".
<http://nitecruzr.blogspot.com/2005/07/local-name-and-address-resolution-on.html>
http://nitecruzr.blogspot.com/2005/07/local-name-and-address-resolution-on.html

Distant servers.

I've checked

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\DataBasePath

and the value there is "%SystemRoot%\System32\drivers\etc". Seems to be the
right value.

Well, needless to say, the problem is still here.

And did you run "ipconfig /flushdns" after making changes?

How about you provide an example of a Hosts file entry that you made, so we can
try diagnosing, instead of playing 20 questions? And tell us what you're doing,
"when it doesn't get processed by the system"? Details would be helpful here.
<http://nitecruzr.blogspot.com/2005/06/background-information-useful-in.html>
http://nitecruzr.blogspot.com/2005/06/background-information-useful-in.html
<http://nitecruzr.blogspot.com/2006/01/look-at-complete-detail-in-error.html>
http://nitecruzr.blogspot.com/2006/01/look-at-complete-detail-in-error.html

--
Cheers,
Chuck, MS-MVP [Windows - Networking]
http://nitecruzr.blogspot.com/
Paranoia is not a problem, when it's a normal response from experience.
My email is AT DOT
actual address pchuck mvps org.
.



Relevant Pages

  • Re: system32driversetchosts doesnt get read
    ... Jane, not plain;) 64bit enabled;) ... Are the entries for local, or for distant, servers? ... remember to run "ipconfig /flushdns" after making changes. ...
    (microsoft.public.windowsxp.network_web)
  • Re: system32driversetchosts doesnt get read
    ... The entries don't get processed. ... Are the entries for local, or for distant, servers? ... remember to run "ipconfig /flushdns" after making changes. ...
    (microsoft.public.windowsxp.network_web)
  • Re: dns host name issue
    ... Can you do an nslookup against both dns servers and see what the response is ... Make sure to do an ipconfig /flushdns before each lookup ... Windows IP Configuration ... Connection-specific DNS Suffix. ...
    (microsoft.public.windows.server.dns)
  • Re: Take forever to boot and display files in a folder
    ... you to post the output from ipconfig /all, ... DNS and secondary one. ... then to examine the value of the line starting with "DNS Servers". ... I have a total of 6 Windows ...
    (microsoft.public.windows.file_system)
  • Re: "Page Cannot Be Displayed" until IP is renewed.
    ... whenever I tried ipconfig /release and ipconfig /renew I ended up ... >although mine is on a DHCP reservation. ... It has happened to two of my servers ... when it's a normal response from experience. ...
    (microsoft.public.windowsxp.network_web)