Add a new zone

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

You can use this procedure to create a new primary, secondary, stub, or reverse lookup 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.

Adding a new zone

  • Using the Windows interface

  • Using a command line

To add a new zone using the Windows interface

  1. Open the DNS snap-in.

  2. In the console tree, right-click a DNS server, and then click New Zone to start the New Zone Wizard.

  3. Follow the instructions in the wizard to create a new primary, secondary, stub, or reverse lookup zone.

Note

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

To add a new zone using the command line

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

    dnscmd ServerName /ZoneAdd ZoneName {/Primary|/DsPrimary|/Secondary|/Stub|/DsStub} [/file FileName] [/load] [/a AdminEmail] [/DP FQDN]

    Value Description

    ServerName

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

    /ZoneAdd

    Required. Adds a zone.

    ZoneName

    Required. Specifies the fully qualified domain name (FQDN) of the in-addr.arpa domain for the zone, for example, 20.1.168.192.in-addr.arpa.

    /Primary|/DsPrimary

    Required. Specifies the type of zone. To specify an Active Directory-integrated zone, type /DsPrimary.

    /file

    Required for /Primary. Specifies a file for the new zone. This parameter is invalid for the /DsPrimary zone type.

    FileName

    Required for /Primary. Specifies the name of the zone file. This parameter is invalid for the /DsPrimary zone type.

    /load

    Loads an existing file for the zone. If this parameter is not specified, default zone records are created automatically. This parameter does not apply to /DsPrimary.

    /a

    Adds an administrator e-mail address for the zone.

    AdminEmail

    Specifies the administrator e-mail name for the zone.

    /DP

    Adds the zone to an application directory partition. You may also use one of the following:

    • /DP /domain for a domain directory partition (replicates to all DNS servers in the domain).

    • /DP /forest for a forest directory partition (replicates to all DNS server in the forest).

    • /DP /legacy for a legacy directory partition (replicates to all domain controllers in the domain). This setting supports domains using legacy Windows 2000 Server domain controllers.

    FQDN

    Specifies the FQDN of the directory partition.