A PTR (pointer) record maps an IP address back to a hostname. The address is written in reverse under in-addr.arpa (IPv4) or ip6.arpa (IPv6).
8.8.8.8.in-addr.arpa. 75991 IN PTR dns.google.
; points to dns.google
1.1.1.1.in-addr.arpa. 651 IN PTR one.one.one.one.
; points to one.one.one.one
9.9.9.9.in-addr.arpa. 164172 IN PTR dns9.quad9.net.
; points to dns9.quad9.net
For 192.0.2.25 the PTR lives at 25.2.0.192.in-addr.arpa. For IPv6, each of the 32 hex nibbles becomes a label, in reverse. Reverse zones belong to whoever holds the address block, usually your hosting provider or ISP, so PTRs are set in their control panel, not in your domain's zone.
Mail receivers check that a sending IP has a PTR and that the name resolves back to the same IP ("forward-confirmed reverse DNS"). Gmail's bulk-sender guidelines require it. Most other software only uses PTRs to show friendlier names in logs and traceroutes.
25.2.0.192.in-addr.arpa. 3600 IN PTR mail.example.com.
Wire format: RDATA is one domain name.
| Field | Meaning |
|---|---|
| Owner | Reversed address under in-addr.arpa. or ip6.arpa. |
| Target | The hostname. It should have an A/AAAA record pointing back to the same address. |
ip-192-0-2-25.provider.net on a mail server; many receivers score that as residential or dynamic.