Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

DNS vs WINS

Posted on 2011-02-23
3
Medium Priority
?
725 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 2000 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

If you have a multi-homed DNS setup in windows, you can have issues with connectivity to the server that hosts the DNS services (or even member servers of your domain if this same DNS server is a DC). This is because windows registers all of its IPs…
A quick step-by-step overview of installing and configuring Carbonite Server Backup.
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Loops Section Overview

916 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