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



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: cant access localhost or 127.0.0.1
    ... Well localhost is determined in the hosts file. ... and can view the gif files located in the default web folder. ... >> Have you checked that your IIS Service is actually running? ...
    (microsoft.public.inetserver.iis)
  • Re: Postfix error question
    ... my hosts file and changed my domain in the main.cf to a qualified domain ... localhost.thedomain.com localhost ... mydomain = thedomain.com ... inet_interfaces = $myhostname, localhost ...
    (alt.os.linux)
  • Re: Disappearing HOSTS file XP Pro SP2
    ... machines to access test servers that don't have 'public' DNS names ... and for virtual servers on the local loop so we don't have to ... whoa - ti was resolving to the public DNS entry. ... HOSTS file is one of those protected? ...
    (microsoft.public.windowsxp.network_web)
  • Re: [Full-disclosure] Re: According to Ivan, the secret ZA phone-homeserver is located at 12
    ... Your quite a piece fo work Dave. ... Do you know how windows hosts file ... destination servers to Zonelaram". ... I don't care since your email just qualified you ...
    (Full-Disclosure)
  • Re: Who Really Controls Internet?
    ... >> Those are just TLD name servers, ... You could perform something similar with your hosts file. ... > an important piece of the Internet architecture. ... a lookup site. ...
    (comp.dcom.telecom)