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



Tried, doesn't work. It simply doesn't get processed, if I enter imdb.com
enter a browser (tried with ie, ff and opera), the site appears without
problems.

"Jane Colman" wrote:

Instead of 0.0.0.0, you should use 127.0.0.1. That is the localhost address
that the hosts file refers back to.

--
Jane, not plain ;) 64bit enabled ;)
Batteries not included. Braincell on vacation.
"the friendly display name"
<thefriendlydisplayname@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:42491567-C940-4A90-9D63-9F17A3072A01@xxxxxxxxxxxxxxxx
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
    ... 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)

Loading