Deliverability

What is a PTR record (reverse DNS) and why your emails need one

ZeroPhantom team 2026-11-29 4 min read

Normal DNS turns a name into an IP: mail.example.com → 203.0.113.10. A PTR record does the opposite and turns the IP back into a name. That's why it's called reverse DNS.

Mail servers check it because it's a cheap way to spot junk. A real mail server has a proper name. A hacked home router or a throwaway server often doesn't. Google's sender guidelines say every sending IP needs valid forward and reverse DNS, and that includes small senders.

What "valid" means

  1. Your IP has a PTR record, for example 203.0.113.10 → mail.example.com.
  2. That name points back to the same IP: mail.example.com → 203.0.113.10.

When both match, it's called forward-confirmed reverse DNS (FCrDNS). That's what receivers want to see.

How to check yours

dig -x 203.0.113.10 +short          # should print mail.example.com.
dig mail.example.com +short          # should print 203.0.113.10

On Windows you can use nslookup 203.0.113.10. Or send a test email to our mail tester, which checks reverse DNS for you along with SPF, DKIM and DMARC.

Who can set it

This catches almost everyone out. PTR records live in the DNS of whoever owns the IP address, which is your hosting or VPS provider, not your domain registrar or Cloudflare. Adding a "PTR" in your domain's DNS panel does nothing.

  • Many VPS panels have a "reverse DNS" or "rDNS" field next to the IP. Set it to mail.yourdomain.com.
  • If there's no field, open a support ticket: "Please set the PTR for 203.0.113.10 to mail.example.com." Most providers do it within a day.
  • Run whois 203.0.113.10 to see which company owns the IP if you're not sure.

Common mistakes

  • The PTR points to the provider's default name, like vps-1234.provider.net. It exists, but it doesn't match your domain. Change it.
  • The PTR name doesn't resolve back to the same IP. Add an A record for it.
  • Your server greets with a different name. In Postfix, set myhostname = mail.example.com so the HELO name matches too.

If you're setting up a server from scratch, our Postfix and DKIM guide walks through the whole thing.