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.

Hosts and DNS lookup order

Discussion in 'Networking (Hardware & Software)' started by aggletonm, 2011/02/24.

  1. 2011/02/24
    aggletonm

    aggletonm Inactive Thread Starter

    Joined:
    2002/05/13
    Messages:
    105
    Likes Received:
    0
    For various reasons I need to get a load of devices running Windows Embedded POSReady 2009 (basically XP Embedded) to look at DNS before the hosts file. The entry does have to exist in the hosts file as well to cater for WAN failure. I've tried the only one I can see on the web - changing the values for DNSPriority etc. in HKLM\System\CCS\Services\TCPIP\ServiceProvider and hosts still seems to take priority over DNS lookup.

    Any feedback very welcome.
     
  2. 2011/02/24
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,072
    Likes Received:
    400

  3. to hide this advert.

  4. 2011/02/24
    aggletonm

    aggletonm Inactive Thread Starter

    Joined:
    2002/05/13
    Messages:
    105
    Likes Received:
    0
    Looks as though that tells you how to do it, rather than actually a tool in it. As it happens I may have solved it for my scenario as the devices (tills) are on the same VLAN as the entry I require. I didn't realise it but in the hosts file you can put a name rather than IP address. It appears to be resolving using DNS when it can see the DNS servers and is still resolving (presumably using NetBIOS) when I put a dummy address in the DNS server field. Unfortunately won't be able to fully prove for a couple of weeks.
     
  5. 2011/02/24
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,072
    Likes Received:
    400
    As soon as you know for sure, mark this thread as "resolved" so as to benefit others in future searches here.
     
  6. 2011/02/24
    aggletonm

    aggletonm Inactive Thread Starter

    Joined:
    2002/05/13
    Messages:
    105
    Likes Received:
    0
    No problem
     
  7. 2011/03/04
    aggletonm

    aggletonm Inactive Thread Starter

    Joined:
    2002/05/13
    Messages:
    105
    Likes Received:
    0
    Still no luck

    I had a slightly faulty hosts file on the till so what I thought was the resolution didn't work. Changing the values in the registry doesn't work, if you put DNS at, say, 1 and hosts at 500 it still looks up hosts first :(
     

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.