Compartir a través de


Add a stub zone

Updated: August 25, 2010

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

To add a stub zone

  • Using the Windows interface

  • Using a command line

Using the Windows interface

  1. Open DNS.

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

  3. Follow the instructions to create a new stub 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 DNS, click Start, click Control Panel, double-click Administrative Tools, and then double-click DNS.

  • The stub zone cannot be hosted on a DNS server that is authoritative for the same zone.

  • If you choose to integrate the stub zone into Active Directory (using Active Directory as the stub zone's storage method), you have the option to specify that the DNS server hosting the stub zone use a local list of master servers when updating the stub zone's resource records, rather than have the DNS server use the master servers list stored in Active Directory. If you want to use a local master servers list, you will need the IP addresses of the local master servers.

  • If you want the DNS server hosting a stub zone to use a local list of master servers, see Related Topics.

Using a command line

  1. Open Command Prompt.

  2. Type:

    dnscmdServerName /ZoneAdd ZoneName {/Stub|/DsStub} MasterIPaddress... [/file FileName] [/load] [/DP FQDN]

ValueDescription

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 zone.

/Stub|/DsStubRequired. Specifies the type of zone. To specify an Active Directory-integrated stub zone, type /DsStub.

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

/file Adds a file for the new zone.

FileName Specifies the name of the zone file.

/load Loads an existing file for the zone. If this parameter is not specified, default zone records are created automatically.

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

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

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

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

FQDN Specifies the fully qualified domain name of the directory partition.

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

  • The stub zone cannot be hosted on a DNS server that is authoritative for the same zone.

  • If you choose to integrate the stub zone into Active Directory (using Active Directory as the stub zone's storage method), you have the option to specify that the DNS server hosting the stub zone use a local list of master servers when updating the stub zone's resource records, rather than have the DNS server use the master servers list stored in Active Directory. If you want to use a local master servers list, you will need the IP addresses of the local master servers.

  • If you want the DNS server hosting a stub zone to use a local list of master servers, see Related Topics.

Formatting legend

FormatMeaning

ItalicInformation that the user must supply

BoldElements 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 fontCode 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

Reload or transfer a stub zone
Configure a stub zone for local master servers
Understanding zones and zone transfer
Using stub zones
Active Directory-integrated stub zones
Install Windows Support Tools