Re: A problem with "hosts" file: hostnames with dots are not being resolved
- From: "Ace Fekay [MVP]" <PleaseAskMe@xxxxxxxxxxxxxx>
- Date: Thu, 25 Jan 2007 23:43:06 -0500
In news:1169786585.533573.83980@xxxxxxxxxxxxxxxxxxxxxxxxxxxx,
Yarik <yarik@xxxxxxxxxx> stated, which I commented on below:
Hi,
When I include the following two entries into my "hosts" file
192.168.1.22 zzyzx
192.168.1.22 zzyzx.com
the first hostname (the one without dots) is being resolved just fine,
but the second hostname (the one that does have a dot) isn't. What
could be a cause of such strange behavior and how this problem could
be fixed?
When this computer was set up for the first time, this problem did not
occur. I believe it started to occur at some point, but unfortunately,
I do not remember exactly when. I just remember that several months
ago one of the hostnames defined in the "hosts" file suddenly became
unresolvable, but at that point it was not important enough to
investigate; now I desperately need to include some hostnames with
dots...
Please, help! I cannot believe I am the first one stepping on this
problem. :-)
Thank you,
Yarik.
P.S. The computer runs Windows 2000 Server SP4.
How many entries are in the hosts file?
Did you eliminate the possibitlity of a virus (the Qhosts virus), or spyware
that may have hijacked the file?
When you do an ipconfig /flushdns, then an ipconfig displaydns, does the
entries you put in show up with the dots? Right after that, try to ping both
entries, and post your results.
--
Ace
Innovative IT Concepts, Inc (IITCI)
Willow Grove, PA
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 MVP - Directory Services
Microsoft Certified Trainer
Having difficulty reading or finding responses to your post?
Instead of the website you're using, I suggest to use OEx (Outlook Express
or any other newsreader), and configure a news account, pointing to
news.microsoft.com. This is a direct link to the Microsoft Public
Newsgroups. It is FREE and requires NO ISP's Usenet account. OEx allows you
to easily find, track threads, cross-post, sort by date, poster's name,
watched threads or subject.
It's easy:
How to Configure OEx for Internet News
http://support.microsoft.com/?id=171164
Infinite Diversities in Infinite Combinations
Assimilation Imminent. Resistance is Futile
"Very funny Scotty. Now, beam down my clothes."
The only constant in life is change...
.
- Follow-Ups:
- References:
- Prev by Date: A problem with "hosts" file: hostnames with dots are not being resolved
- Next by Date: Re: DNS Server Problems - Keep having to restart the DNS service
- Previous by thread: A problem with "hosts" file: hostnames with dots are not being resolved
- Next by thread: Re: A problem with "hosts" file: hostnames with dots are not being resolved
- Index(es):
Relevant Pages
|