Hosts file entry not resolving

R

Ron

We have approximately 1300 laptops in the field and we
have an entry in the hosts file that identifies one of our
servers. This is working for all machines but 2.

There are only 2 entries in the hosts file as follows:
127.0.0.1 localhost
12.30.nnn.nnn MWASQL01

When we try to ping/tracert mwasql01 from the remote
machine it gives the "destination not found" message. I
have retyped the entries, recreated the file but it still
does not resolve. They all use dhcp and "Enable LMHOSTS
lookup" is enabled although we are using the "hosts" file
not lmhosts.

Any thought ideas why the "hosts" name is not resolving?

Thanks for the help...
 
H

Hans-Georg Michna

Ron said:
We have approximately 1300 laptops in the field and we
have an entry in the hosts file that identifies one of our
servers. This is working for all machines but 2.

There are only 2 entries in the hosts file as follows:
127.0.0.1 localhost
12.30.nnn.nnn MWASQL01

When we try to ping/tracert mwasql01 from the remote
machine it gives the "destination not found" message. I
have retyped the entries, recreated the file but it still
does not resolve. They all use dhcp and "Enable LMHOSTS
lookup" is enabled although we are using the "hosts" file
not lmhosts.

Any thought ideas why the "hosts" name is not resolving?

Ron,

one of the recent viruses had this effect. It relocated the
hosts file location to some other folder like windows\help and
put its own hosts file there.

I hope it's not that, but you'd better check.

Hans-Georg
 
R

Ron

-----Original Message-----


Ron,

one of the recent viruses had this effect. It relocated the
hosts file location to some other folder like windows\help and
put its own hosts file there.

I hope it's not that, but you'd better check.

Hans-Georg

Thanks for the reply...

I have checked and the host file is in the correct place
windows\system32\drivers\etc and I have recreated the host
file putting only 2 entries in this file (localhost and
ours). Normally, even if you have an entry with a bogus IP
address ping will first resolve the name before it times
out looking for the IP address.
 
H

Hans-Georg Michna

Ron said:
Thanks for the reply...

I have checked and the host file is in the correct place
windows\system32\drivers\etc and I have recreated the host
file putting only 2 entries in this file (localhost and
ours). Normally, even if you have an entry with a bogus IP
address ping will first resolve the name before it times
out looking for the IP address.

Ron,

the virus did not relocate the hosts file. It merely put its own
host file in some folder like windows\help and pointed the
operating system there.

I trust you have scanned your computer for viruses, using an
up-to-date virus scanner.

Hans-Georg
 

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

Top