DNS scavenge stale records
Posted on 2011-09-21
Scavenging was never enabled on our DNS server. It has numerous invalid records - some 6 months to 2 years old. I want to get rid of them. To avoid having to delete them manually and to avoid the problem in the future, I want to see how scavenging works.
I set aging/scavenging properties for all zones; I right clicked on the zone that I want to target, chose properties and clicked the "aging" button on the General Tab and did the same. Went back to the server and ran "scavenge stale resource records"; clicked "Yes". Nothing happened. (though I see that the zone can be scavenged on 9/28)
Do I have to wait weeks to see if this is going to work? or did it already run and not work?
Found one blog that recommends against ever running Dnscmd.exe /AgeAllRecords. Found another that says records from before scavenging is enable won't ever be deleted unless I run AgeAllRecords.
When I ran "scavenge stale resource records" - did it scavenge the stale records right then or just schedule it to run in 7 days?
Will it (by default) delete the ancient records or do I have to choose between running AgeAllRecords or manually deleting the old stuff?