What Is Reverse DNS (rDNS / PTR Lookup)?
Reverse DNS is the process of resolving an IP address back to a hostname using PTR records. It is the opposite of standard DNS, which resolves hostnames to IP addresses.
How Reverse DNS Works
Reverse DNS uses PTR (Pointer) records stored in a special DNS zone under the in-addr.arpa domain (for IPv4) or ip6.arpa (for IPv6). The IP address is reversed and appended to the arpa domain. For example, the reverse lookup for 203.0.113.25 queries 25.113.0.203.in-addr.arpa for a PTR record.
The PTR record returns the hostname associated with that IP. For full verification, the receiving server then performs a forward DNS lookup on that hostname to confirm it resolves back to the original IP. This is called forward-confirmed reverse DNS (FCrDNS).
Why Reverse DNS Matters
Reverse DNS is critical for email deliverability. Most major email providers (Gmail, Outlook, Yahoo) check rDNS as part of their spam filtering. A mail server without a valid PTR record is likely to have its email rejected or sent to spam. Reverse DNS also plays a role in server logging, network troubleshooting, and security analysis.
Frequently Asked Questions
Why is Reverse DNS important for email?
Mail servers check rDNS as part of spam filtering. If a sending server's IP lacks a valid PTR record, or if it does not pass FCrDNS, the email may be rejected. Gmail and Microsoft require valid rDNS for mail servers.
How do I set up a PTR record?
PTR records are managed by whoever controls the IP address block — typically your hosting provider or ISP. Contact them to create a PTR record for your server's IP pointing to your mail server's hostname.
What is forward-confirmed reverse DNS (FCrDNS)?
FCrDNS means the PTR record resolves to a hostname, and that hostname's A record resolves back to the same IP. This bidirectional verification is what most spam filters look for.