Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 729
  • Last Modified:

DNS vs WINS

Does DNS take precedent over WINS?

I have a 2K3 domain with Windows XP machines. I have DNS servers on my domain controllers. I only have one WINS server. Just as an Example, if I have an entry in the clients Host file and then the same entry in the clients Lmhosts file but with a different IP. Does DNS take precedent over anything in the LMHOST file?

Thanks
0
AGenMIS
Asked:
AGenMIS
1 Solution
 
NavdeepCommented:
No, Host files will be taking the precedence but why you want to use such a setup.
0
 
AGenMISAuthor Commented:
We're in a weird setup. Our field users have lmhost entries that point to our servers IP Address (External IPs that NATS through our firewall). When they are in one of our offices, their lmhost files still contain those IPs that point to our servers. But since they are now in the office, they no longer need those entries and can see our servers interal addresses automatically through DNS.

Just curious on why those lmhost entries aren't causing any conflicts with our servers when the clients are in our office since they are different IPs entries listed for our servers.
0
 
michkoCommented:
the dns resolution order should be this:

1. local host name
2. Hosts file
3. DNS server
4. netbios name cache
5. wins server
6. Broadcast
7. LMHosts file

it uses the first valid response.
(from http://www.itnewsgroups.net/servernetworking/t6891-host-name-search-precedence.aspx )

You may want to take a look at this Technet article on integrating DNS with WINS:
http://technet.microsoft.com/en-us/library/cc750589.aspx
(yes, it is a win nt article, but it will apply to xp also).

0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now