What the PTR checker tests
Enter an IPv4 or IPv6 address and the tool builds the reverse name (in-addr.arpa or ip6.arpa), queries its PTR record and then resolves the PTR host name forward to check that it points back to the same IP. Enter a host name instead, such as your mail server, and the tool resolves its A and AAAA records first and checks each address in turn.
- PTR present: Gmail's sender guidelines require sending IPs to have a PTR record, and many other receivers reject or heavily filter mail from IPs without one.
- Forward-confirmed: the PTR host resolves back to the IP. A mismatch is a common spam signal.
- Single PTR: more than one PTR record per IP confuses receivers; use exactly one.
Why reverse DNS matters for email
Residential and compromised machines usually have generic reverse DNS such as 203-0-113-25.dynamic.isp.example, or none at all. Mail filters therefore treat missing or generic PTR records as a strong sign that a message did not come from a properly run mail server. Microsoft, Google, Yahoo and most spam filters check it on every connection, before they even look at SPF or DKIM.
A good setup has three names that agree: the PTR for the sending IP, the A record for that name pointing back to the IP, and the name the server announces in its SMTP HELO/EHLO greeting. The reverse DNS vs SMTP banner guide explains how to fix a mismatch.
How to set or change a PTR record
| Where the IP lives | How to set PTR |
|---|---|
| AWS EC2 / Lightsail | Request through the reverse DNS form or Elastic IP settings; the A record must exist first |
| Google Cloud | Set a PTR on the instance network interface, after verifying the domain |
| Azure | Set the reverse FQDN on the public IP resource |
| DigitalOcean | Name the Droplet with the full host name; the PTR follows the Droplet name |
| Hetzner, OVH, Linode / Akamai | Edit reverse DNS in the control panel for the IP |
| Office or home connection | Ask the ISP; many will not set PTR on consumer lines, so use a relay instead |
Provider menus change, so check their current documentation. Create the forward A record first, then the PTR, and allow for the reverse zone's TTL before testing again.
Checking the IPs that send your mail
To find the IP a message came from, paste its headers into the email header analyzer and look at the first external hop. DMARC aggregate reports also list every sending IP; the DMARC report analyzer links each one straight to this PTR check, which usually reveals the service behind it.
Related tools
MX lookup
Mail servers, priority, PTR
Open tool →DNS lookup
A, AAAA, MX, NS, SOA, CAA…
Open tool →Email header analyzer
Hops, delays, SPF/DKIM/DMARC
Open tool →DMARC report analyzer
Read aggregate XML reports
Open tool →Get alerted when it changes
Free daily monitoring re-checks SPF, DKIM, DMARC, MX, BIMI and MTA-STS and emails you when something changes or fails.
Set up free monitoringFrequently asked questions
What is a PTR record?
A pointer record maps an IP address back to a host name. For IPv4 it lives under in-addr.arpa with the octets reversed, so 203.0.113.25 becomes 25.113.0.203.in-addr.arpa. IPv6 uses ip6.arpa with every hex digit reversed.
Who can set reverse DNS for my IP?
Whoever controls the IP address block: your hosting provider, cloud platform or ISP, not your domain's DNS host. Most cloud providers let you set it in the server's network settings; otherwise open a support ticket.
What is forward-confirmed reverse DNS (FCrDNS)?
The PTR name for an IP must itself resolve (A or AAAA) back to that same IP. Mail servers use it because anyone can publish a PTR pointing at any name, but only the owner of the name can make it resolve back.
Does my domain need reverse DNS if I use Gmail or Microsoft 365 to send?
No. Their sending IPs already have correct reverse DNS. You need to set PTR only for servers you run yourself, such as a VPS running Postfix or an on-premise Exchange server.
Should the PTR match my domain?
It should be a real, forward-confirmed host name, ideally the same name your server uses in its SMTP HELO/EHLO greeting. It does not have to be in the same domain as the From address.