Re: Disappearing HOSTS file XP Pro SP2



=?Utf-8?B?am9ubnliZWU=?= <jonnybee@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote
in news:C55BBD09-9273-4D60-9205-F4F4235DFBAF@xxxxxxxxxxxxx:

Hi All -

I do web development, and I use the HOSTS files on our local
machines to access test servers that don't have 'public' DNS names
and for virtual servers on the local loop so we don't have to
publish over the 'net to our own IIS6 servers.

It works brilliantly. HOWEVER - I have one machine that just won't
let me create/edit a HOSTS file. Well, it will let me create it,
and then it will just wink out of existence right before your
eyes.

This box is running XP Pro 32 with SP2 installed & is up-to-date
on hotfixes/patches.

This is the only machine I am having this problem with AFAIK. I
have 4 others where this is not the case. 2 with XP Pro and 2
with Media Center.

I'm not sure when the problem began to be honest because machines
are tasked differently. I noticed when I started publishing to a
new virtual server - WOW - that was slow... of course I'm
publishing to a fully qualified path, and I had created a host
file to point to the local server, so I first pinged the FQDN -
whoa - ti was resolving to the public DNS entry. It was so slow
because the traffic was flowing out over the internet to the
provider and then back to the server. I thought I might have made
a mistake in the HOSTS entry, so I went to system32\drivers\etc -
NO HOST FILE!

Yep, I was logged on as Administrator when I created the file. I
tried a couple of times, and finally used Crimson editor to create
the file, and left the system32\drivers\etc folder open in
Explorer. About a minute later - POOF!

I suspect this is a function of Windows System File Checker. I
have done some research along those lines, but I'm unsure if the
HOSTS file is one of those protected? The only way I can figure
this one based on what I have read is that this machine didn't
have a HOSTS file when SP2 was applied - so SFC thinks there
should not be one. One other thought has occurred and that was
the Malware Removal tool might be responsible.

I'm at a complete loss here - Thanks for any ideas.

jon b

If you don't want to spend the time finding the cause, after editing
the file, you can go into the security settings for the file and change
them such that nobody (even SYSTEM or yourself) can alter or delete the
file while allowing the normal Read access. You'd have to change the
permissions back to further edit the file, but this may be a workaround
that won't take too much of your time.


HTH,
John
.



Relevant Pages

  • [Telecom] DNS usage
    ... recursive lookup server on my firewall at home. ... Would this be be a noticable increase in DNS load? ... the Doubleclick servers use the information to build a profile of your ... The HOSTS file on your computer is checked _first_. ...
    (comp.dcom.telecom)
  • Re: Really Odd TCP/IP Issue - Help!
    ... Is this ONLY a DNS issue or also an IP problem? ... > I checked my hosts file - it's OK ... If it's a DNS issue the router is unlikely to have any ... > and have eliminated DNS issues by using the ISP's servers. ...
    (microsoft.public.win2000.networking)
  • Re: PLEASE HELP ME!!!
    ... it appears that the problem is your DNS is not giving you any ... way to do a lookup for boards.gamefaqs.com. ... A temporary solution is to *add* an entry into your HOSTS file so that ... that we now know is shared by other servers for other services. ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: [Full-disclosure] Re: According to Ivan, the secret ZA phone-homeserver is located at 12
    ... Your quite a piece fo work Dave. ... Do you know how windows hosts file ... destination servers to Zonelaram". ... I don't care since your email just qualified you ...
    (Full-Disclosure)
  • Re: Who Really Controls Internet?
    ... >> Those are just TLD name servers, ... You could perform something similar with your hosts file. ... > an important piece of the Internet architecture. ... a lookup site. ...
    (comp.dcom.telecom)