HKLM\SYSTEM\CurrentControlSet\Services\DNS\Zones\<Zone-name>
Data type | Range | Default value |
---|---|---|
REG_DWORD | 0 | 1 | 0 |
Determines whether the DNS scavenging feature is enabled for this zone.
When scavenging, the DNS server inspects the timestamps of resource records for this zone in the DNS database and deletes records that are out of date.
Value | Meaning |
---|---|
0 | Scavenging is disabled. The DNS server does not delete old resource records. |
1 | Enables scavenging for this zone. |
You can enable scavenging on a zone by using three different methods. All of these methods change the value of Aging.
Aging directly stores the value of the Scavenge stale resource records checkbox on the Aging page of the DNS console.
The default configuration for a new zone is stored in the value
of DefaultAgingState, and is copied
to the value of Aging when a new
DefaultAgingState stores the setting in the Server Aging/Scavenging Properties dialog box.
When you select the Apply these settings to the existing Active Directory-integrated zones check box on the Server Aging/Scavenging Confirmation dialog box, the value of DefaultAgingState is copied to the value of Aging and replaces any existing value.
To change the value of this entry, use the DNS console. Right-click the name of a zone, click Properties, click the General tab, and then click the Aging button. This entry corresponds to the Scavenge stale resource records check box.
DNS reads its registry entries only when it starts. You can change entries while the DNS server is running by using the DNS console. If you change entries by editing the registry, the changes are not effective until you restart the DNS server.
Note
By default, scavenging is disabled on the DNS server and on all zones. To enable scavenging for any zone, you must enable it on the DNS server (as specified in ScavengingInterval) and on the zone (as specified by this value). If scavenging is disabled on the DNS server, all entries that configure scavenging on any zone are ignored.
Caution
DNS adds this entry to the registry when you use the DNS console to configure scavenging. Do not edit the registry to add, delete or change this value.
Related Entries