Windows – Problem with the hosts file in Windows XP

domain-name-systemwindows

I have a computer with Windows XP SP2 with a weird problem. The hosts file doesn't work. No matter what I do, adding or removing entries in the file doesn't make any difference, pinging the added names times out. I tried flushing the DNS cache (using ipconfig /flushdns) but that didn't work, I even tried to restart the DNS client service but that made no difference too.

Removing entries also has no effect, I ping the names and I get a reply.

Help!!!

Edit:
Thanks for your answer guys, but the problem is more complicated than this. It seems I'll have to reinstall Windows.

Best Answer

Last time that happened to me, I was letting notepad name the file hosts.txt.

It must be named hosts - no extension. Change notepad save as to ..

Related Topic