NSlookup returns old and new domain controllers

When i perform an nslookup for my child domain (domain1.forest.com) name in my Active Directory environmnet the query returns a list of old and new IP address of domain controllers.

How do i remove the old / obsolete IP addresses ? so the nslookup returns the correct servers alone.

I verified the obsolete servers are not in

- AD Sites and Servers
- DNS Name servers for the child domain and root domain
- no static entry in host and lmhost files on any DC

I have one forest and 10 child domains , the child domain in question is functioning in Win2000 mixmode AD, there are 5 Win2003 DCs and 1 Win2000 DC.

All the DNS servers are pointing to their own IP for lookups in the TCP/IP configuration. The DNS servers forward to root servers in the forest which forward to external DNS.

Please help, i've been search all over for a solution ....
Who is Participating?
Chris DentConnect With a Mentor PowerShell DeveloperCommented:

It won't...

You see, NsLookup doesn't use the client Cache which would be cleared if you ran the command above. It queries the server directly, without caching.


> How do i remove the old / obsolete IP addresses ?

The only place those can be are the "(same as parent folder)" host (A) records in the Child Domain. Verify those?

Go to a command prompt on the machine you are doing the lookup from and type:

ipconfig /flushdns

This will clear the old DNS out and refresh it.
Henrik JohanssonConnect With a Mentor Systems engineerCommented:
Use DNS Manager
Either delete the orphan '(same as parent folder)' A records manually from DNS zone or enable automatic aging/scavenging by enabling the following settings
- DNS zone properties->Aging->'Scavenge stale resource records'
- DNS server properties->Advanced->'Enable automatic scavenging of stale records'.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.