Export (0) Print
Expand All
2 out of 2 rated this helpful - Rate this topic

Add a pointer (PTR) resource record to a reverse zone

Updated: January 21, 2005

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

To add a pointer (PTR) resource record to a reverse zone

Using the Windows interface

  1. Open DNS.

  2. In the console tree, right-click the applicable reverse lookup zone.

  3. On the Action menu, click New Pointer.

  4. In the Host IP number text box, type the host IP address octet number.

  5. In the Host name text box, type the fully qualified domain name for the DNS host computer for which this pointer record is to be used to provide reverse lookup (address-to-name resolution).

    As an option, you can click Browse to search the DNS namespace for hosts in this domain that have host (A) records already defined.

  6. Click OK to add the new record to the 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.

  • When creating a new A resource record, there is an option to create an associated PTR resource record automatically. PTR resource records created automatically when adding an A resource record to a zone will be deleted automatically if the corresponding A resource record is deleted.

Using a command line

  1. Open Command Prompt.

  2. Type: dnscmd ServerName /RecordAdd ZoneNameNodeName [/Aging] [/OpenAcl] [Ttl] PTR HostName|DomainName

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

/RecordAdd Required. Adds a new resource record.

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

NodeName Required. Specifies the FQDN of the node in the DNS namespace. You can also type the node name relative to the ZoneName or @, which specifies the zone's root node.

/Aging Specifies that this resource record is able to be aged and scavenged. If this command is used, this resource record is able to be aged and scavenged. If this command is not used, the resource record remains in the DNS database unless it is manually updated or removed.

/OpenAcl Specifies that new records are open to modification by any user. Without this parameter, only administrators may modify the new record.

Ttl Specifies the Time-To-Live setting for the resource record.

PTR Required. Specifies the resource record type.

HostName|DomainName Required. Specifies the FQDN of a resource record located in the DNS namespace. The host you specify is used as the data for answering reverse lookups based on the address information specified by this pointer (PTR) resource record.

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 /RecordAdd /help

  • PTR resource records are deleted automatically if the corresponding A resource record is deleted.

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.