Windows 7 Stopped Using hosts file for DNS Resolution

Posted by AJ on Super User See other posts from Super User or by AJ
Published on 2010-04-14T00:18:24Z Indexed on 2010/04/14 0:23 UTC
Read the original article Hit count: 361

Filed under:
|
|

I am running Windows 7 Home Premium 64-bit. Starting today, I noticed that DNS resolution is not reading my %SYSTEMROOT%\System32\drivers\etc\hosts file. I say this because I added two new entries to the file and when I run 'nslookup' on the command line, they don't resolve. Further, just trying to resolve 'localhost' results in my primary DNS server being queried.

I've read several threads that suggest that the file might have been corrupted and to move it aside and create a new one. I've done that, and no improvement.

Is there some sort of registry key that controls the sequence of resources used for DNS resolution (similar to nsswitch.conf on UNIX)? What else could be causing this?

Thanks in advance.

© Super User or respective owner

Related posts about windows-7

Related posts about dns