Product Documentation

Creating PTR Records for IPv4 and IPv6 Addresses

Aug 31, 2016

A pointer (PTR) record translates an IP address to its domain name. IPv4 PTR records are represented by the octets of an IP address in reverse order with the string "in-addr.arpa." appended at the end. For example, the PTR record for the IP address 1.2.3.4 is 4.3.2.1.in-addr.arpa.

IPv6 addresses are reverse mapped under the domain IP6.ARPA. IPv6 reverse-maps use a sequence of nibbles separated by dots with the suffix ".IP6.ARPA" as defined in RFC 3596. For example, the reverse lookup domain name corresponding to the address, 4321:0:1:2:3:4:567:89ab would be b.a.9.8.7.6.5.0.4.0.0.0.3.0.0.0.2.0.0.0.1.0.0.0.0.0.0.0.1.2.3.4.IP6.ARPA.

To add a PTR record by using the command line interface

At the command prompt, type the following commands to add a PTR record and verify the configuration:

  • add dns ptrRec <reverseDomain> <domain> [-TTL <secs>]
  • show dns ptrRec <reverseDomain>

Example

 
> add dns ptrRec 0.2.0.192.in-addr.arpa example.com 
 Done 
> show dns ptrRec 0.2.0.192.in-addr.arpa 
1)      Reverse Domain Name : 0.2.0.192.in-addr.arpa 
        Domain Name : example.com               TTL : 3600 secs 
 Done 
> 
To remove a PTR record, type the rm dns ptrRec command and the reverse domain name associated with the PTR record

To add a PTR record by using the configuration utility

Navigate to Traffic Management > DNS > Records > PTR Records and create a PTR record.