Reset aging and scavenging properties for a specific resource record

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

This procedure is used only for resource records that are registered dynamically. For records that you add to a zone manually, a time-stamp value of zero always applies to the record, which excludes it from the scavenging process.

Note

Scavenging and aging properties for name server (NS) and start of authority (SOA) resource records are reset in the properties of the zone, not in the properties of the resource record.

You can perform this procedure by using the DNS snap-in or by using the Dnscmd command-line tool.

Administrative credentials

To perform this procedure, you must be a member of the Administrators group on the local computer, or you must have been delegated the appropriate authority. If the computer is joined to a domain, members of the Domain Admins group might be able to perform this procedure. As a security best practice, consider using the Run as command to perform this procedure.

Resetting aging and scavenging properties for a specific resource record

  • Using the Windows interface

  • Using the command line

To reset aging and scavenging properties for a specific resource record using the Windows interface

  1. Open the DNS snap-in.

  2. In the console tree, click the applicable zone.

  3. In the details pane, double-click the resource record for which you want to reset scavenging and aging properties.

  4. Depending on the how the resource record was originally added to the zone, do one of the following:

    • If the record was added dynamically using dynamic update, clear the Delete this record when it becomes stale check box to prevent the record's aging or potential removal during the scavenging process. If dynamic updates to this record continue to occur, the Domain Name System (DNS) server will always reset this check box so that the dynamically updated record can be deleted.

    • If you added the record manually, select the Delete this record when it becomes stale check box to permit the record's aging or potential removal during the scavenging process.

Note

To open the DNS snap-in, click Start, point to Administrative Tools, and then click DNS.

To reset aging and scavenging properties for a specific resource record using the command line

  • At a command prompt, type the following command, and then press ENTER:

    dnscmd ServerName /Config {ZoneName|..AllZones} /ScavengingInterval Value

    Value Description

    ServerName

    Specifies the DNS host name of the DNS server. You can also type the Internet Protocol (IP) address of the DNS server. To specify the DNS server on the local computer, you can also type a period (.)

    ZoneName|..AllZones

    Specifies the fully qualified domain name (FQDN) of the zone. To configure all zones that are hosted on the specified DNS server to allow dynamic updates, type ..AllZones.

    Value

    The new value for the scavenging interval, specified in hours. The default is 168 hours (one week).