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

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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?
 
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.
 
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
 
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 ....
 
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.
 
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.
 
Have you cleaned out the Temp Internet files?

--
Jane, not plain ;) 64bit enabled ;)
Batteries not included. Braincell on vacation.
"the friendly display name"
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 said:
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"
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 ....

:

On Sun, 21 May 2006 11:00:02 -0700, the friendly display name

:

On Sun, 21 May 2006 04:16:01 -0700, the friendly display name

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.
 
Yes

Jane Colman said:
Have you cleaned out the Temp Internet files?

--
Jane, not plain ;) 64bit enabled ;)
Batteries not included. Braincell on vacation.
"the friendly display name"
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 said:
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"
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 ....

:

On Sun, 21 May 2006 11:00:02 -0700, the friendly display name

:

On Sun, 21 May 2006 04:16:01 -0700, the friendly display name

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top