Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Win2k3 environment using WINs

server resolves to the correct IP when I use the FQDN, but resolves to a different IP when I use the shortname.

I've tried resetting NetBios cache and purging/reloading remote cache table (nbtstat), but that doesn't work.

Any other ideas on how I can get the server to resolve to the same IP when using both shortname and FQDN?

share|improve this question
    
What tool are you using to do these lookups? –  EEAA Sep 10 '10 at 16:58
    
What is your primary dns suffix? You can see this with an: ipconfig /all from a cmd prompt. –  Coding Gorilla Sep 10 '10 at 17:03

2 Answers 2

Snortname resolution follows a couple of different paths, both DNS and NetBIOS. Since purging the NBT cache isn't working for you, it must be getting it from somewhere else like WINS. When attempting to resolve a shortname by DNS, it will try resolving each of the domains listed in the DNS search list in order until it finds it. If it finds the wrong one first, it will return that.

If you have a split DNS where servers have both an AD name and a static DNS name, such as, servname.addom.example.com and servname.servers.example.com, and have the servers.example.com domain listed in your search list before addom.example.com, then it will be the servers.example.com version of that name that will be returned. It is for this reason that I recommend to our own people to ensure that AD's DNS domain tops all such search lists.

share|improve this answer
    
You're comment sent me in the right direction. AD servers had residual entries for the old IP. deleting those from the domain controllers resolved the issue. –  user53920 Sep 10 '10 at 18:59

Have you checked to see if there is an entry for it in the Lmhosts file? If so then it will use that IP address instead of looking up the IP using WINS or NetBIOS.

share|improve this answer
    
Yes. There are entries in there, but none that point to that name or IP. –  user53920 Sep 10 '10 at 17:11

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.