Windows 7 Stopped Using hosts file for DNS Resolution
- by AJ
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.