Export (0) Print
Expand All

Add a Forward Lookup Zone

Applies To: Windows Server 2008, Windows Server 2008 R2

Forward lookup zones support the primary function of Domain Name System (DNS), that is, the resolution of host names to IP addresses. For more information, see Understanding Zone Types.

Membership in the Administrators group, or equivalent, is the minimum required to complete this procedure. Review details about using the appropriate accounts and group memberships at http://go.microsoft.com/fwlink/?LinkId=83477.

Adding a forward lookup zone

To add a forward lookup zone using the Windows interface
  1. Open DNS Manager.

  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 primary zone, secondary zone, or stub zone.

Additional considerations

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

To add a forward lookup zone using a command line
  1. Open a command prompt.

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

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


Parameter Description


Manages DNS servers.


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


Required. Adds a zone.


Required. Specifies the fully qualified domain name (FQDN) of the zone.


Required. Specifies the type of zone. /DsPrimary and /DsStub specify an Active Directory–integrated zone type.


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


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


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.


Adds an administrator e-mail address for the zone.


Specifies the administrator e-mail name for the zone.


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 servers in the forest).

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


Specifies the FQDN of the directory partition.

To view the complete syntax for this command, at a command prompt, type the following command, and then press ENTER:

dnscmd /ZoneAdd /help 

Additional considerations

  • To open an elevated Command Prompt window, click Start, point to All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft