DefaultAgingState

HKLM\SYSTEM\CurrentControlSet\Services\DNS\Parameters

Data type Range Default value
REG_DWORD 0 | 1 0

Description

Determines whether the DNS scavenging feature is enabled by default on newly created Active Directory–integrated zones.

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 by default on new Active Directory–integratedzones. The DNS server does not delete old resource records.
1 Enables scavenging by default on new Active Directory–integratedzones.

When you create a new Active Directory–integrated zone, the system copies the value of this entry into the value of Aging in the <Zone-name> subkey for the new zone and uses the value of Aging thereafter.

Change method

To change the value of this entry, use the DNS console. Right-click the name of a server, and then click Set Aging/Scavenging for all zones.

Activation method

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 Image 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 the value of Aging). If scavenging is disabled on the DNS server, all entries that configure scavenging on any zone are ignored.

Tip Image Tip

You can apply this value to existing Active Directory–integrated zones by selecting the Apply these settings to the existing Active Directory–integrated zones option on the Server Aging/Scavenging Confirmation dialog box.

Caution Image 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

Page Image

Page Image

Page Image

Page Image

Page Image

Page Image