SecDNS

PTR record (reverse DNS)

A PTR record maps an IP address back to a hostname via the in-addr.arpa or ip6.arpa zones, providing reverse DNS lookups used by mail servers and logging tools.

PTR record (reverse DNS)

A PTR (Pointer) record maps an IP address back to a hostname, providing the reverse of an A or AAAA lookup. It is the mechanism behind "reverse DNS" or "rDNS."

In plain English

A normal DNS lookup goes from name to IP. A reverse lookup goes from IP to name. PTR records live in special zones (in-addr.arpa for IPv4, ip6.arpa for IPv6) and they exist mainly because mail servers and logging tools want to know which name an IP belongs to.

How it works

PTR records are defined in RFC 1035 §3.3.12 with type code 12, and the reverse zones are described in RFC 1035 (in-addr.arpa) and RFC 3596 (ip6.arpa). For an IPv4 address 203.0.113.10, the PTR query name is 10.113.0.203.in-addr.arpa; for IPv6, the address is expanded into nibble form. The reverse zones are delegated by the RIRs (ARIN, RIPE, APNIC, etc.) down to the IP holder — meaning the IP owner, not the domain owner, controls PTR records. Some CIDR blocks use RFC 2317 "classless" delegation so a small block within a /24 can be sub-delegated. Mail receivers commonly require forward-confirmed reverse DNS (FCrDNS): the PTR resolves to a name that itself resolves back to the same IP. PTR records can be signed with DNSSEC like any other type.

SecDNS perspective

If you bring your own IP space, SecDNS can host your in-addr.arpa and ip6.arpa zones alongside your forward zones with the same anycast hosting and DNSSEC signing.

Frequently asked questions

Do I need a PTR record?

For outbound SMTP, yes — most receiving mail servers reject mail from IPs that do not have matching forward and reverse DNS. For inbound HTTPS, no.

Who controls my PTR record?

The IP holder. The RIR delegates the reverse zone to the ISP or hosting provider that owns the address, who then sub-delegates or publishes the PTR on your behalf.