Export (0) Print
Expand All
1 out of 2 rated this helpful - Rate this topic

Reload a Zone File

Published: October 7, 2009

Updated: October 7, 2009

Applies To: Windows Server 2008 R2

The DnsCmd /OfflineSign /SignZone command will generate a zone file that contains DNSSEC data. After signing a zone file, copy both the signed and unsigned zone files to a secure location and then delete the unsigned version of the zone. Next, reload the zone with the signed zone file as the input. For a description of additional dnscmd.exe command options, see DnsCmd Syntax (http://go.microsoft.com/fwlink/?LinkId=165772).

Membership in the local Administrators group, 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 (http://go.microsoft.com/fwlink/?LinkId=83477).

Use the following procedures to reload a zone file. If the zone is Active Directory integrated, you must reset the zone type prior to reloading the zone.

CautionCaution
Active Directory integration of a signed zone is not recommended because it will require the manual update of all service (SRV) records and other resource records.

  1. Copy the signed zone file to the %windir%\System32\DNS directory on the authoritative DNS server.

  2. Open an elevated command prompt and browse to the %windir%\System32\DNS directory.

  3. Type the following command, and then press ENTER:

    dnscmd /ZoneDelete <zone name> /f
    
  4. Type the following command, and then press ENTER:

    dnscmd /ZoneAdd <zone name> <zone type> /file <zone file name> /load
    
  1. Copy the signed zone file to the %windir%\System32\DNS directory on the authoritative DNS server.

  2. Open an elevated command prompt and browse to the %windir%\System32\DNS directory.

  3. Type the following command, and then press ENTER:

    dnscmd /ZoneDelete <zone name> /dsdel /f
    
  4. Type the following command, and then press ENTER:

    dnscmd /ZoneAdd <zone name> <zone type> /file <zone file name> /load
    
  5. Type the following command, and then press ENTER:

    dnscmd /ZoneResetType <zone name> /dsprimary
    

 

Value Description

dnscmd

The command-line tool for managing DNS servers.

/ZoneDelete

Required. Deletes a specified zone from the DNS server.

/ZoneAdd

Required. Adds a specified zone to the DNS server.

/ZoneResetType

Required. Changes the type of a specified zone.

<zone name>

Required. The FQDN of the zone.

<zone file name>

Required. The name of the file used to store zone data.

<zone type>

Required. Specifies the current zone type (ex: /primary).

See Also

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.