Solved

DNS vs WINS

Posted on 2011-02-23
3
681 Views
Last Modified: 2012-05-11
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
Comment
Question by:AGenMIS
3 Comments
 
LVL 12

Expert Comment

by:Navdeep
ID: 34962049
No, Host files will be taking the precedence but why you want to use such a setup.
0
 

Author Comment

by:AGenMIS
ID: 34962151
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
 
LVL 27

Accepted Solution

by:
michko earned 500 total points
ID: 34962206
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I will assume you are running a non-server version of some sort of Windows throughout this article. There are many flavors of Windows since Windows Server 2000 - 2008, XP Home & Pro, Vista Home & Pro, and Windows 7 Starter, Home, Pro, Ultimate, etc.…
I've written instructions for one router type, but this principle may be useful for others of the same brand and even other brands of router. Problem: I had an issue especially with mobile devices that refused to use DNS information supplied via…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question