Name Resolution Order

Posted on 2003-02-24
Medium Priority
Last Modified: 2010-04-13
The name resolution order on Win2K as per Microsoft' documentation says try DNS first and then WINS.

But when i run a capture tool i made the following observations -

- If a net command is used, ex: net use \\NetBIOSname, WINS is tried first and then DNS
- If a ping command is used, ex: ping hostname.domain.com, DNS is tried first and then WINS.

Can anyone tell me what exactly is the resolution order on Win2K?
Question by:gunavelu
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
LVL 16

Expert Comment

ID: 8010148
What you're saying is correct - the order will depend on what 'type' of command is used - a "Windows Networking" command (net use, net view, net send, logging on, etc) or an "IP" command (ping, ftp, tracert, or using a browser).

The first is "NetBIOS name resolution" and the second is "hostname resolution".

Also, for NetBIOS name resolution, the 'NetBIOS node type' will modify behaviour. It's not always WINS first, sometimes it will use a broadcast first. There's also a checkbox to enable or diable LMHOSTS file usage.

For typical sitautions (using a Hybrid node type) it's like this:
NetBIOS name resolution:
1)NetBIOS name cache
4)LMHOSTS file
6)HOSTS file

Hostname resolution:
1)checks localhost name (ie. am I trying to find myself)
3)Hosts file

There are a bunch of twists to this - Here's a great article with flowcharts for you:

Checkout the entire section called "Configure TCP/IP name resolution.


Author Comment

ID: 8010591
So i would assume the order specified in Microsoft documentation is valid only for FQDN / shortnames used by typical TCP/IP applications like ping, telnet.

For all "Windows Networking" commands, the order would be WINS first and then DNS. Is this correct?
LVL 16

Accepted Solution

JammyPak earned 150 total points
ID: 8011109
Essentially, yes.

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
In today's business world, data is more important than ever for informing marketing campaigns. Accessing and using data, however, may not come naturally to some creative marketing professionals. Here are four tips for adapting to wield data for insi…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

762 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