Change the master server for a secondary zone

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

You can use the following procedure to specify a new master server for a secondary zone. 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.

Changing the master server for a secondary zone

  • Using the Windows interface

  • Using the command line

To change the master server for a secondary zone using the Windows interface

  1. Open the DNS snap-in.

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

  3. On the General tab, in IP address, specify the Internet Protocol (IP) address for a new master server, and then click Add to update the list.

Note

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

To change the master server for a secondary zone using the command line

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

    dnscmd ServerName /ZoneResetMasters ZoneName [/Local] MasterIPaddress...

    Value Description

    ServerName

    Required. Specifies the Domain Name System (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 (.)

    /ZoneResetMasters

    Required. Updates the master servers for a secondary zone.

    ZoneName

    Required. Specifies the fully qualified domain name (FQDN) of the zone that you are updating.

    /Local

    Specifies the local master list for Active Directory-integrated zones.

    MasterIPaddress...

    Required. Specifies the IP addresses of the master servers to be used by the DNS server when updating the specified secondary zones. If you do not specify ServerIPs, you are requesting the DNS server to reset the value to an empty list. The request may be denied because a zone must always have at least one master server. MasterIPaddress... is required to clear the local master list for a zone.