Export (0) Print
Expand All

Set aging and scavenging properties for a DNS server

Updated: March 2, 2005

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

The settings for server aging and scavenging properties determine the effect of zone-level properties for any directory-integrated zones that are loaded at the server.

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.

Setting aging and scavenging properties for a DNS server

To set aging and scavenging properties for a DNS server using the Windows interface
  1. Open the DNS snap-in.

  2. In the console tree, right-click the applicable Domain Name System (DNS) server, and then click Set Aging/Scavenging for All Zones.

  3. Select the Scavenge stale resource records check box.

  4. Modify other aging and scavenging properties as needed

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

To set aging and scavenging properties for a DNS server using the command line
  • At a command prompt, type the following command, and then press ENTER:

    dnscmd ServerName /Config {/ScavengingInterval Value|/DefaultAgingState Value|/DefaultNoRefreshInterval Value|/DefaultRefreshInterval 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 (.)

    Value

    For /ScavengingInterval, type a value in hours. The default is 168 hours (one week). For /DefaultAgingState, type 1 to enable aging for new zones when they are created. Type 0 to disable aging for new zones. For /DefaultNoRefreshInterval, type a value in hours. The default is 168 hours (one week). For /DefaultRefreshInterval, type a value in hours. The default is 168 hours (one week).

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft