DNS not updating records


I have a Windows 2000 server and I've noticed that there are quite a few stale records.

Scavenging is set for the zone, as per screenshot, the DCHP server is set to update DNS for clients.

One example is a machine that is showing in DNS with the records timestamp as 31/07/2007.  The box is ticked to delete the records when it becomes stale.  The owner of this records is SYSTEM.  This is not showing in DCHP with a current lease.  There are other records that have more recent timestamps, eg 03/06/2008 which are still showing in DNS.

A output of dnscmd /zoneinfo is on the attachment.

My question is why have these records not been deleted from the zone?

The scavenging is set on the reverse lookup zone as well, however has not been enabled at the server level.  I am worried about enabling this without knnowing what's happening with these records.

Any advice would be much appreciated.

Thanks in advance

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.

Amit BhatnagarSystems Development Principal - Security and InfrastructureCommented:
Hi Natasha,

You need to enable Scavenging on the Server level as well so that it can start working. It would NOT work unless you enable it on Server level. Make sure to restart the DNS Service once you enable Scavenging at the Server level.
natty575Author Commented:
Thanks for the reply, I enabled scavenging at the server level last week and then expected the records to be deleted after 18/11/2008 as per the level set on the zone, however on checking this today the records have not been deleted. For example there is an A record that is has the timestamp of 31/07/2007.  This has not been deleted.  Also another one that has the timestamp of 09/06/2008 that has not been deleted.

Any ideas on why these records are not beig deleted?

Thanks in advance.
Amit BhatnagarSystems Development Principal - Security and InfrastructureCommented:
Have you gone through this article?

Also, try this...

Starting scavenging of stale resource records:


Also, try this command if everything fails...Please refer to the link for the proper command syntax.


Dnscmd /ageallrecords

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
natty575Author Commented:
Thanks Barmit99, The manual starting of Scavenge Stale Resource records did the trick.

Thanks very much for your help.
Amit BhatnagarSystems Development Principal - Security and InfrastructureCommented:
Am glad it helped !
Amit Bhatnagar.
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.