Export (0) Print
Expand All

Add a PTR resource record to a reverse zone

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

You can use the following procedure to add a pointer (PTR) resource record to a reverse zone. When you create a new address (A) resource record, there is an option to create an associated PTR resource record automatically. PTR resource records that are created automatically during the addition of an A resource record to a zone are deleted automatically if the corresponding A resource record is deleted.

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 PTR resource record to a reverse zone

To add a PTR resource record to a reverse zone using the Windows interface
  1. Open the DNS snap-in.

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

  3. On the Action menu, click New Pointer (PTR).

  4. In the Host IP number text box, type the host Internet Protocol (IP) address octet number.

  5. In Host name, type the fully qualified domain name (FQDN) 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 Domain Name System (DNS) namespace for hosts in this domain that have host address (A) records already defined.

  6. Click OK to add the new record to the zone.

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

To add a PTR resource record to a reverse zone using the command line
  • At a command prompt, type the following command, and then press ENTER:

    dnscmd ServerName/RecordAdd ZoneNameNodeName [/Aging] [/OpenAcl] [Ttl] PTR HostName|DomainName

     

    Value Description

    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

    Adds a new resource record.

    ZoneName

    Required. Specifies the FQDN of the zone where this new PTR resource record will be added.

    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 updated or removed manually.

    /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 (TTL) setting for the resource record.

    PTR

    Required. Specifies the resource record type for the record that you are adding.

    HostName|DomainName

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

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

Community Additions

ADD
Show:
© 2014 Microsoft