DNS not updating records

Posted on 2008-11-10
Last Modified: 2012-05-05

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

Question by:natty575
    LVL 12

    Expert Comment

    by:Amit Bhatnagar
    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.

    Author Comment

    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.
    LVL 12

    Accepted Solution

    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


    Author Comment

    Thanks Barmit99, The manual starting of Scavenge Stale Resource records did the trick.

    Thanks very much for your help.
    LVL 12

    Expert Comment

    by:Amit Bhatnagar
    Am glad it helped !
    Amit Bhatnagar.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Enabling OSINT in Activity Based Intelligence

    Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

    This article is intended as an extension of a blog on Aging and Scavenging by the MS Enterprise Networking Team. In brief, Scavenging is used as follows: Each record in a zone which has been dynamically registered with an MS DNS Server will have…
    There have been a lot of times when we have seen the need to enter a large number of DNS entries in a forward lookup zone. The standard procedure would be to launch the DNS Manager console, create the Zone and start adding new hosts using the New…
    Need more eyes on your posted question? Go ahead and follow the quick steps in this video to learn how to Request Attention to your question. *Log into your Experts Exchange account *Find the question you want to Request Attention for *Go to the e…
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now