4.2.7 PTR Record
A DNS pointer record (PTR) provides the domain name associated with an IP address. DNS PTR records are used in reverse DNS lookups.
In IPv4: DNS PTR records are stored under the IP address (reversed),
and with .in-addr.arpa
added.
For example: The PTR record for the IP address 192.0.2.255 would be stored
under
255.2.0.192.in-addr.arpa
.
Table 4-10 PTR Record - 192.0.2.255
Domain Name | TTL | Record Type | Value |
---|---|---|---|
1.2.0.192.in-addr.arpa | 14400 | PTR | example.com |
In IPv6: IPv6 PTR records are stored under the IPv6 address
(reversed) and converted into four-bit sections, along with
.ip6.arpa
.
Table 4-11 IPv6 PTR Records
Domain Name | TTL | Record Type | Value |
---|---|---|---|
7334.0370.8a2e.0000.0000.85a3.0db8.2001.ip6.arpa | 14400 | PTR | example.com |