13.13. Scavenging Old Resource Records
You want to scavenge old resource records. DNS scavenging is the process whereby resource records are automatically removed if they are not updated after a period of time. Typically, this applies only to resource records that were added via DDNS, but you can also scavenge manually added records (or static records). DNS scavenging is a recommended practice (although disabled by default) so that your DNS zones are automatically kept clean of stale resource records.
The following solutions show how to enable automatic scavenging on all Active Directory-integrated zones.
Using a graphical user interface
From the Administrative Tools, open the DNS snap-in (dnsmgmt.msc).
Connect to the DNS Server you want to modify. In the left pane, right-click on DNS and select Connect to DNS Server. Select The following computer and enter the target server name. Click OK.
Click on the server, right-click on it, and select Set Aging/Scavenging for all zones.
Check the box beside Scavenge stale resource records.
Configure the No-Refresh and Refresh intervals as necessary and click OK.
Check the box beside Apply these settings to the existing Active Directory-integrated zones and click OK.
Right-click on the server again and select Properties.
Select the Advanced tab.
Check the box beside Enable automatic scavenging of stale resource records.
Configure the scavenging period as required.
Using a command-line interface
The following commands configure ...