1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

XP cannot resolve against hosts file...

Discussion in 'Networking (Hardware & Software)' started by batsona, 2011/03/15.

  1. 2011/03/15
    batsona

    batsona Well-Known Member Thread Starter

    Joined:
    2007/12/18
    Messages:
    133
    Likes Received:
    0
    A WinXP SP3 system refuses to resolve any entries in the hosts file. No errors on privs are encountered when we open, alter, and save the file. I've never seen this happen before. If we assume that the hosts file is the first in the search-order in the registry, and the file-privs are OK, What things should I check / what things have people seen before that cause this to happen?

    A application on this box needs to resolve a hostname, and we can't put it in DNS...
     
  2. 2011/03/16
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,072
    Likes Received:
    400
    Which application needs to use the hosts file? The browser will automatically utilize the hosts file. A separate application might not have been coded to do so.

    To force use of the hosts file you'll have to disable the DNS Client Service:
    Control Panel > Admin Tools > Services > stop the DNS Client and set to manual startup.

    Also, Internet Options > Connections tab > LAN Settings > you cannot use a proxy server.
     

  3. to hide this advert.

  4. 2011/03/18
    batsona

    batsona Well-Known Member Thread Starter

    Joined:
    2007/12/18
    Messages:
    133
    Likes Received:
    0
    The 'application' is actually a cleint for a patch-management agent (Dell makes a product called KACE) (An acquisition....) The agent needs to resolve a hostname, "patchserver.company.com" It needs an FQDN, because it's using SSL. So, we put it in the host file, but when we ping "patchserver.company.com ", it can't resolve it to an IP. There are 10 other systems like this one, and they all work fine except this one.

    Can't use proxy -- the KACe client can't be configured to do so - it has to sends packets direct. In my 12 years in the business, putting something in the hosts file always makes it resolvable -- immediatly....
     
  5. 2011/03/18
    rsinfo

    rsinfo SuperGeek Alumni

    Joined:
    2005/12/25
    Messages:
    4,076
    Likes Received:
    178
    Copy the hosts file from a working computer to this computer & see if everything checks out.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.