Adjust the Expire Interval for a Zone

Updated: May 9, 2008

Applies To: Windows Server 2008

You can use this procedure to adjust the expire interval for a Domain Name System (DNS) zone. Other DNS servers that are configured to load and host the zone use the expire interval to determine when zone data expires if it is not successfully transferred. By default, the expire interval for each zone is set to one day.

You can complete this procedure using either the DNS Manager snap-in or the dnscmd command-line tool.

Membership in Administrators, or equivalent, is the minimum required to complete this procedure. Review details about using the appropriate accounts and group memberships at Local and Domain Default Groups (

  1. Open DNS Manager. To open DNS Manager, click Start, point to Administrative Tools, and then click DNS.

  2. In the console tree, right-click the applicable zone, and then click Properties.

  3. On the General tab, verify that the zone type is either Primary or Active Directory-integrated.

  4. Click the Start of Authority (SOA) tab.

  5. In Expires after, click a time period in minutes, hours, or days, and then type a number in the text box.

  6. Click OK to save the adjusted interval.

  1. Open a command prompt. To open an elevated Command Prompt window, click Start, point to All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.

  2. At the command prompt, type the following command, and then press ENTER:

    dnscmd <ServerName> /RecordAdd <ZoneName> <NodeName> [/Aging] [/OpenAcl] [<Ttl>] SOA <PrimSvr> <Admin> <Serial#> <Refresh> <Retry> <Expire> <MinTTL>


Parameter Description


The command-line tool for managing DNS servers.


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


Required. Adds or modifies a resource record.


Required. Specifies the fully qualified domain name (FQDN) of the zone.


Required. Specifies the FQDN of the node in the DNS namespace for which the start of authority (SOA) record is added. You can also type the node name relative to the <ZoneName> or @, which specifies the zone's root node.


Specifies that this resource record is able to be aged and scavenged. If this parameter is not used, the resource record remains in the DNS database unless the resource record is manually updated or removed.


Specifies that new records are open to modification by any user. Without this parameter, only administrators can modify the new record.


Specifies the Time To Live (TTL) setting for the resource record. (The default TTL is defined in the start of authority (SOA) resource record).


Required. Specifies the type of resource record that you are modifying.


Required. Specifies the FQDN name of the server that is the primary source for information about the zone, for example,


Required. Specifies the name of the DNS administrator for the zone, for example,


Required. Specifies the version information for the zone.


Required. Specifies the refresh interval for the zone. The standard setting is 900 (15 minutes).


Required. Specifies the retry interval for the zone. The standard setting is 600 (10 minutes).


Required. Specifies the expire interval for the zone. The standard setting is 86400 (one day).


Required. Specifies the minimum TTL value. This is the length of time that other DNS servers use to determine how long to cache information for a record in the zone before they expire and discard it. The standard setting is 3600 (one hour).

To view the complete syntax for this command, at a command prompt, type the following command, and then press ENTER:

dnscmd /RecordAdd /help 

Community Additions