Sdílet prostřednictvím


Add a secondary server for an existing zone

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

To add a secondary server for an existing zone

  • Using the Windows interface

  • Using a command line

Using the Windows interface

  1. Open DNS.

  2. In the console tree, click the applicable DNS server.

    Where?

    • DNS/Applicable DNS server
  3. On the Action menu, click New Zone.

  4. Follow the instructions in the New Zone Wizard.

    When adding the zone, select Secondary zone as the zone type.

Notes

  • 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 Run as to perform this procedure.

  • To open DNS, click Start, click Control Panel, double-click Administrative Tools, and then double-click DNS.

  • If the DNS server is running locally, you do not need to perform step 2.

  • In order to add a secondary server for an existing zone, you need to have network access to the server acting as the master server for this server and its use of the zone. The master server acts as the source for zone data. It is contacted periodically to assist in renewing the zone and to transfer zone updates whenever they are needed.

Using a command line

  1. Open Command Prompt.

  2. Type:

    dnscmdServerName /ZoneAdd ZoneName /Secondary MasterIPaddress...[/file FileName]

Value Description

dnscmd

Specifies the name of the command-line tool.

ServerName

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 (.).

/ZoneAdd

Required. Adds a zone.

ZoneName

Required. Specifies the fully qualified domain name (FQDN) of the secondary zone you are adding. The zone name must be the same as the primary zone from which the secondary zone is created.

/Secondary

Required. Adds a secondary zone type.

MasterIPaddress...

Required. Specifies one or more IP addresses for the master servers of the secondary zone, from which it copies zone data.

/file

Specifies the command to use a file.

FileName

Specifies the name of the file to use for creating the secondary zone.

Notes

  • 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 Run as to perform this procedure.

  • To open a command prompt, click Start, point to All programs, point to Accessories, and then click Command prompt.

  • This procedure requires the Dnscmd Windows support tool. For information about installing Windows support tools, see Related Topics.

  • To view the complete syntax for this command, at a command prompt, type:

    dnscmd/ZoneAdd /help

  • To add a secondary server for an existing zone, you need to have network access to the server acting as the master server for this server and its use of the zone. The master server acts as the source for zone data. It is contacted periodically to assist in renewing the zone and to transfer zone updates whenever they are needed.

Formatting legend

Format Meaning

Italic

Information that the user must supply

Bold

Elements that the user must type exactly as shown

Ellipsis (...)

Parameter that can be repeated several times in a command line

Between brackets ([])

Optional items

Between braces ({}); choices separated by pipe (|). Example: {even|odd}

Set of choices from which the user must choose only one

Courier font

Code or program output

Information about functional differences

  • Your server might function differently based on the version and edition of the operating system that is installed, your account permissions, and your menu settings. For more information, see Viewing Help on the Web.

See Also

Concepts

Checklist: Installing a DNS server
Install a DNS server
Add a server to the DNS console
Using secondary servers
Understanding zones and zone transfer
Install Windows Support Tools