dns host file

J

James

I m not sure whether this post is suppose to be here. If not, pls direct me
to another newsgroup

i've a xp machine, and the \sysmte32\drivers\etc\host file is filled with
some entries

ipaddress www.abc.com

When i attempt to run www.abc.com from IE, it cannot resolves giving dns
error. But using ip address, it is able to resolves.
When this host file is applied to other xp machines, IE can resolves dns
names.

What went wrong ?
 
A

Ace Fekay [MVP]

In
James said:
I m not sure whether this post is suppose to be here. If not, pls
direct me to another newsgroup

i've a xp machine, and the \sysmte32\drivers\etc\host file is filled
with some entries

ipaddress www.abc.com

When i attempt to run www.abc.com from IE, it cannot resolves giving
dns error. But using ip address, it is able to resolves.
When this host file is applied to other xp machines, IE can resolves
dns names.

What went wrong ?

Delete ALL the entries except the two local loopback entries. Save the file.
Then go into it's properties and force it to Read ONly, and try it again.

Obviously you have some sort of either spyware or virus that took over your
HOSTS file. More than likely spyware.
==================================
Download, install, update and
run all of the following.

Ad-Aware
http://www.lavasoftusa.com/software/adaware/

Spybot search and destroy
http://www.safer-networking.org/en/download/

Microsoft Windows AntiSpyware (Beta)
http://www.microsoft.com/athome/security/spyware/software/default.mspx

If none of the above fixes the issue then download Hijack this, run
it, save a copy of the log file and post it to one of the forums below:

HiJackThis Download:
http://www.spywareinfo.com/~merijn/downloads.html

SWI Forums- Post your HiJackThis logfile (Powered by Invision Power Board):
http://forums.spywareinfo.com/

HiJackThis Tutorial and Forums-
How to use HijackThis to remove Browser Hijackers & Spyware. Post your
logfile here:
http://www.bleepingcomputer.com/forums/index.php?showtutorial=42


--
Regards,
Ace

Please direct all replies ONLY to the Microsoft public newsgroups
so all can benefit.

This posting is provided "AS-IS" with no warranties or guarantees
and confers no rights.

Ace Fekay, MCSE 2003 & 2000, MCSA 2003 & 2000, MCSE+I, MCT, MVP
Microsoft Windows MVP - Windows Server - Directory Services
Infinite Diversities in Infinite Combinations.
=================================
 
K

Kevin D. Goodknecht Sr. [MVP]

James said:
I m not sure whether this post is suppose to be here. If not, pls
direct me to another newsgroup

i've a xp machine, and the \sysmte32\drivers\etc\host file is filled
with some entries

Are these entries supposed to be in the hosts file?
ipaddress www.abc.com

When i attempt to run www.abc.com from IE, it cannot resolves giving
dns error.
IE does not resolve names, the DNS client service does that. Does the hosts
file entries show when you run ipconfig /displaydns?
But using ip address, it is able to resolves.
When this host file is applied to other xp machines, IE can resolves
dns names.

What went wrong ?

It is easier to add these entries to a local DNS server, rather than using
HOSTS files that require a lot more resources maintain, as you are begining
to see. Also if the hosts file starts getting larger it takes a longer to
start the DNS client service.
Do you not have a local DNS server?
 

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