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



Yeah I've tried flushdns

"when it doesn't get processed by the system"?"

Easy:

The system doesn't use the the file. The entries don't get processed.

Here is the file:


127.0.0.1 localhost
0.0.0.0 imdb.com
0.0.0.0 www.imdb.com
0.0.0.0 uk.imdb.com
0.0.0.0 us.imdb.com
0.0.0.0 german.imdb.com
0.0.0.0 spanish.imdb.com
0.0.0.0 french.imdb.com
0.0.0.0 italian.imdb.com

In case you're wondering: A family member did waste way to much time on the
forums on imdb.com ....

"Chuck" wrote:

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
    ... Are the entries for local, or for distant, servers? ... should use LMHosts (and enable LMHosts lookup). ... remember to run "ipconfig /flushdns" after making changes. ...
    (microsoft.public.windowsxp.network_web)
  • 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)
  • weird DHCP/WINS question
    ... check the WINS setting (ipconfig /all), ... secondary WINS servers are listed. ... secondary WINS entries are switched. ... this and they will keep switching back and forth. ...
    (microsoft.public.windows.server.networking)
  • Re: OAB Generation Problem 9339
    ... I played arround with OABInteg and Parameter proxytest and get from all DC ... We ca. 5000 entries in the adressbook. ... servers V 2000 and 2003. ... The AD replication is checked and displays no error or problem! ...
    (microsoft.public.exchange.admin)
  • Re: OAB Generation Problem 9339
    ... But with OABInteg without error'!! ... We ca. 5000 entries in the adressbook. ... servers V 2000 and 2003. ... The AD replication is checked and displays no error or problem! ...
    (microsoft.public.exchange.admin)

Loading