How to discard old DNS A and PTR records on AD domain DHCP server


on plenty of AD domain controllers I have the same issue:
local domain DNS records keep old combination of IP-ComputerName combination active in both, A-record and PTR-record. So I have under domain A-records the same NetBIOS computer name resolving to multiple IP addresses, and under reverse zone PTR having single IP resolving to multiple different NetBIOS computer names.
This is because clients were assigned new IP over years of usage, but old A and PTR records did not get deleted.
So PING and NSLOOKUP and NSLOOKUP "set type=ptr" all return mixed outputs. For some clients, which are always powered ON, results are correct, but for most of notebooks, returned values are not consistent.

But I have "Discard old PTR and A records" ENABLED, and "Update DNS entries for DHCP clients" also ENABLED under properties of DHCP server.
I also have "Remove stale records" ENABLED and set to 2-7 days.
Why do these old records not get deleted? How to set it up to work properly?
This is an issue on both, Server 2003 and Server 2008 domain, multiple installations, even on SBS 2008.

 DNSissue1.jpg DNSissue2.jpg
LVL 18
Andrej PirmanAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Maen Abu-TabanjehNetwork Administrator, Network ConsultantCommented:
Andrej PirmanAuthor Commented:
I did. So what's my sin? Which setting I set wrong?
Maen Abu-TabanjehNetwork Administrator, Network ConsultantCommented:
Turns out the 'DNS dynamic updates registration credentials' setting in DHCP had invalid creds. The password had been changed on the account that was specified so when DHCP tried to update the records it was failing. Have created a DNS service account so this won't happen again.
go to then click credentials then re-type  user name -password - domain , then restart DHCP server .. it will work fine
Krzysztof PytkoSenior Active Directory EngineerCommented:
Make sure that your DNS zone has enabled Secure updates only and then read this blog about DNS Aging and Scavenging to understand the mechanism at

be patient and check if it works :)


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Andrej PirmanAuthor Commented:
This is the solution from your link:

Scavenging is set in three places on a Windows Server:

    - On the individual resource record to be scavenged.
    - On a zone to be scavenged.
    - At one or more servers performing scavenging.

It must be set in all three places or nothing happens.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.