Add a reverse lookup zone
Applies To: Windows Server 2008
Reverse lookup zones support the resolution of IP addresses to host names in Domain Name System (DNS). Although they are optional in most networks, reverse lookup zones might be necessary for certain secure applications that require the validation of IP addresses. For more information, see Providing Reverse Lookup.
You can use this procedure to create a reverse lookup zone. For information about how to supply the network range or zone name, see Creating a reverse lookup zone.
You can complete this procedure using either the DNS Manager snap-in or the dnscmd command-line tool.
Membership in Administrators, or equivalent, is the minimum required to complete this procedure. Review details about using the appropriate accounts and group memberships at Local and Domain Default Groups (https://go.microsoft.com/fwlink/?LinkId=83477).
Adding a reverse lookup zone
Using the Windows interface
Using a command line
To add a reverse lookup zone using the Windows interface
Open DNS Manager. To open DNS Manager, click Start, point to Administrative Tools, and then click DNS.
In the console tree, right-click a DNS server, and then click New Zone to open the New Zone Wizard.
Follow the instructions in the wizard to create a new reverse lookup zone.
To add a reverse lookup zone using a command line
Open a command prompt. 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.
At the command prompt, type the following command, and then press ENTER:
dnscmd <ServerName> /ZoneAdd <ZoneName> {/Primary|/DsPrimary} [/file <FileName>] [/load] [/a <AdminEmail>] [/DP <FQDN>]
Parameter | Description |
---|---|
dnscmd |
The command-line tool for managing DNS servers. |
<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 in-addr.arpa or ip6.arpa domain for the zone. |
/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 not valid for the /DsPrimary zone type. |
<FileName> |
Required for /Primary. Specifies the name of the zone file. This parameter is not valid 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:
|
<FQDN> |
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