Hosts file not working on Windows XP Pro

  • Thread starter Thread starter Barry Hoggard
  • Start date Start date
B

Barry Hoggard

I've searched this newsgroups and read all of the posts on problems
with the hosts file, edited with:

notepad c:\windows\system32\drivers\etc\hosts.

I cannot make the hosts file work. It worked a week or two ago, but
it does not now. I don't have any other hosts file on my system, and
I have tried using LMHOSTS import to fix it, but no success yet.

What else can I try? These are all for 192.168.x.x IPs on my network.
 
I've searched this newsgroups and read all of the posts on problems
with the hosts file, edited with:

notepad c:\windows\system32\drivers\etc\hosts.

I cannot make the hosts file work. It worked a week or two ago, but
it does not now. I don't have any other hosts file on my system, and
I have tried using LMHOSTS import to fix it, but no success yet.

What else can I try? These are all for 192.168.x.x IPs on my network.

Barry,

this is one of the symptoms of a recently popular virus which
points Windows to another hosts file in another folder (help).

LMHOSTS is something else, has not much to do with HOSTS. In
short, HOSTS is the little man's DNS server and cares about IP
host names, LMHOSTS is the little man's WINS server and cares
about NetBIOS names.

Hans-Georg
 
I've searched this newsgroups and read all of the posts on problems
with the hosts file, edited with:

notepad c:\windows\system32\drivers\etc\hosts.

I cannot make the hosts file work. It worked a week or two ago, but
it does not now. I don't have any other hosts file on my system, and
I have tried using LMHOSTS import to fix it, but no success yet.

What else can I try? These are all for 192.168.x.x IPs on my network.

I found the answer.

The answer is turning off the DNS client under "My Computer" services.
I don't know why it started being on - maybe because I had turned on
file sharing to transfer some files?

Even though I was running ipconfig /flushdns it was ignoring my hosts
file until I turned that off.
 
I found the answer.

The answer is turning off the DNS client under "My Computer" services.
I don't know why it started being on - maybe because I had turned on
file sharing to transfer some files?

Even though I was running ipconfig /flushdns it was ignoring my hosts
file until I turned that off.

Barry,

thanks for reporting! I remember now that the DNS client is only
needed, I think, in domains, not in workgroups. Didn't know that
it messes up things that badly though.

Hans-Georg
 
Back
Top