Computing.Net > Forums > Windows 2000 > Host Name to IP Resolutions Order.

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Host Name to IP Resolutions Order.

Reply to Message Icon

Name: Farhan Kazi
Date: February 12, 2003 at 05:51:15 Pacific
OS: Windows 2000 Pro
CPU/Ram: 256
Comment:

Hello !
What is the default host name to IP address resolutions order used by Microsoft Windows 2000 professional clients ? And how can I change this host name resolutions order in Windows 2000 professional, so that it first looks in local system cache then Hosts file then DNS Server for name resolution.

I will be thankful for your helpful reply.
Farhan



Sponsored Link
Ads by Google

Response Number 1
Name: Glen
Date: February 12, 2003 at 07:42:27 Pacific
Reply:

This can get a bit complicated. The first place it sends the name query is to DNS. If DNS resolves it, then obviously it's done. If DNS fails, it will check to see if the name is longer than 15 bytes. If it is, then resolution will fail. If it is shorter than 15 bytes, it will assume the name is a NetBios name and check to see if NetBios is running. If so, it will try using NetBios name resolution.

The order depends on the node type if IP. It depends on the name and the utility used. For example, if you try a NET USE command which is a NetBios utility, it will use the NetBios name cache first. If B Node or Broadcast node type is being used, after the name cache, a broadcast is done to resolve the name, followed by looking at lmhost file, then host file, then DNS.

It's a bit much to explain here since it also depends if you are in a domain environment and what options you have selected in the Properties of TCP/IP. For example, you can specify that clients append the domain name to the computer name.

It would be a bit of reading but you might consider checking this out...

http://www.microsoft.com/windows2000/techinfo/howitworks/communications/nameadrmgmt/w2kdns.asp

Good luck.


0
Reply to Message Icon

Related Posts

See More


MS Word in win2k with NT4... Win2k losing network driv...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows 2000 Forum Home


Sponsored links

Ads by Google


Results for: Host Name to IP Resolutions Order.

Changing IP and Host Name from DOS www.computing.net/answers/windows-2000/changing-ip-and-host-name-from-dos/51735.html

In ASP .NET How to Get IP address from Domain www.computing.net/answers/windows-2000/in-asp-net-how-to-get-ip-address-from-domain/65855.html

UNC name not working to ip.. www.computing.net/answers/windows-2000/unc-name-not-working-to-ip-/55964.html