PTR Record
Pointer
- Type code
- 12
- Status
- In use
- Defined in
- RFC 1035
What the PTR record is for
PTR records are what reverse DNS is built on. An IPv4 address such as 8.8.8.8 is written as 8.8.8.8.in-addr.arpa (octets reversed), and IPv6 addresses are written nibble by nibble under ip6.arpa; the PTR record at that name gives the host name.
Reverse zones are delegated along IP address allocations, so the PTR for an address is controlled by whoever holds the address block, usually a hosting provider or ISP, not by the owner of the forward domain.
Mail servers commonly check that a connecting IP has a PTR record whose name resolves back to the same IP. PTR is also used by DNS-SD (RFC 6763) to list service instances.
Wire format and fields
| Field | Size | Meaning |
|---|---|---|
| PTRDNAME | domain name | The domain name the owner name points to. |
Zone file syntax
<owner> <ttl> IN PTR <ptrdname>
Example
The PTR record at 8.8.8.8.in-addr.arpa, fetched from live DNS on 27 November 2026:
8.8.8.8.in-addr.arpa. 84675 IN PTR dns.google.
Common mistakes
- Running a mail server without a PTR record for its IP address. Many receivers reject or penalize mail from addresses with no reverse DNS.
- Adding a PTR record in your own forward zone. Reverse lookups only reach the zone delegated for your address block, so ask the provider that holds the IP.
- Setting a PTR name that does not resolve back to the same address, which fails forward-confirmed reverse DNS checks.
- Publishing several PTR records for one address. Programs usually use only one, and which one is unpredictable.
Specifications
- RFC 1035: Domain names - implementation and specification (Also defines IN-ADDR.ARPA for IPv4.)
- RFC 3596: DNS Extensions to Support IP Version 6 (Defines ip6.arpa for IPv6 reverse lookups.)
- IANA DNS Resource Record (RR) TYPEs registry: type code and status
Related record types
Domain Intelligence APIs
Get started with our easy-to-use API docs.