PTR Record
Also known as: Pointer record, PTR, Reverse DNS record
A DNS record that maps an IP address back to a host name, the reverse of an A or AAAA record. It lives in the in-addr.arpa (IPv4) or ip6.arpa (IPv6) zone and is set by whoever controls the address block.
Last updated:
What is a PTR record?
A PTR record (pointer record) is the DNS record that answers the question "which name belongs to this IP address?". It is the reverse of an A record, which maps a name to an IPv4 address, and of an AAAA record, which does the same for IPv6. Looking up a PTR record is what a reverse DNS lookup does.
Here are two real PTR records, returned by dig -x on 12 November 2026:
dig -x 8.8.8.8 +noall +answer
8.8.8.8.in-addr.arpa. 75544 IN PTR dns.google.
dig -x 1.1.1.1 +noall +answer
1.1.1.1.in-addr.arpa. 1437 IN PTR one.one.one.one.
The number in the middle is the TTL, how many seconds a resolver may cache the answer. The PTR type is defined with the other basic record types in RFC 1035, the 1987 DNS specification.
How the reverse zone works
DNS is built to look names up, not numbers, so reverse lookups use a trick. The address is turned into a name in a special zone. For IPv4, the four numbers are written backwards under in-addr.arpa, so 203.0.113.25 becomes 25.113.0.203.in-addr.arpa. Backwards, because DNS names get more specific from right to left while IP addresses get more specific from left to right. For IPv6, each hexadecimal digit of the full address becomes its own label, reversed, under ip6.arpa, which gives a name 32 labels long.
The regional internet registry delegates the reverse zone for an address block to the organisation the block was assigned to. That is the key practical fact about PTR records: the record belongs to whoever controls the IP address, not to whoever owns the domain name. You set the A record for mail.example.com at your DNS host; the PTR for the server's address is set by the hosting company or internet provider that gave you the address.
Why mail servers check PTR records
The main use of PTR records today is in email. When a server connects to send mail, the receiving server looks up the PTR record of the connecting address, then looks up the A record of the name it gets back. If the name points back to the same address, the server has forward-confirmed reverse DNS (FCrDNS). Missing records and generic provider names (such as host-203-0-113-25.example-isp.net) are common in spam sent from infected home computers, so large mail providers treat them as a warning sign. Google's sender guidelines require senders to have valid forward and reverse DNS records for their sending addresses.
That is why anyone running a mail server has to ask their host for a PTR record that matches the server's name, and why it pairs with the domain's MX record, SPF and DKIM. The SMTP conversation itself does not need it; deliverability does.
What a PTR record tells you about an address
On someone else's address, the PTR name is often the quickest clue to what it is. A name like dns.google identifies a service. Names that contain the address and words such as dsl, cable, pool or dynamic usually mean a home connection, and names with cloud, compute or a hosting brand mean a server. None of this is guaranteed, since the owner can write anything in the record, but it is a useful first look. Our reverse DNS lookup shows the PTR of any address, and the email header analyzer shows the host names of the servers a message passed through.