← Back to Learning Hub

Email Delivery • Intermediate • 7 min read

Reverse DNS (PTR) and FCrDNS for Mail Servers, Explained

A missing or mismatched PTR record is a top reason mail gets rejected. Learn what reverse DNS is, what forward-confirmed means, and how to fix it.

Forward DNS turns a name into an address: mail.example.com -> 203.0.113.25. Reverse DNS does the opposite, it turns an address back into a name using a PTR record. For websites this rarely matters. For mail servers it is critical: a missing or mismatched PTR is one of the most common reasons legitimate mail is throttled or rejected outright.

What is a PTR record?

A PTR record lives in a special reverse zone (in-addr.arpa for IPv4, ip6.arpa for IPv6) and maps an IP address to a hostname. Crucially, the PTR is controlled by whoever owns the IP block, usually your hosting provider or ISP, not your domain registrar. That is why you often cannot set it from the same place you manage your other DNS records.

Forward-confirmed reverse DNS (FCrDNS)

Receiving mail servers do not just check that a PTR exists, they check that it agrees with forward DNS. This round-trip is called FCrDNS:

  1. The sending IP is 203.0.113.25.
  2. Its PTR says mail.example.com.
  3. Look up mail.example.com, it must resolve back to 203.0.113.25.

If all three line up, the sender is forward-confirmed. If the PTR points to a generic name like 203-0-113-25.pool.isp.net, or the forward lookup does not return the same IP, many servers treat the mail as suspicious.

You can run this exact check with the Reverse DNS / PTR tool, it reports the PTR hostname and whether it forward-confirms.

How to set it up correctly

  • Set the PTR through your IP provider. Ask your host/ISP (or use their control panel) to set the PTR for your mail IP to a hostname you control, such as mail.example.com.
  • Publish a matching forward (A/AAAA) record for that same hostname pointing back to the mail IP.
  • Keep it consistent with your EHLO/HELO name. The name your mail server announces itself as should match the PTR and resolve to the same IP.
  • Do both IPv4 and IPv6. If your server sends over IPv6, it needs a valid PTR for the IPv6 address too, a missing IPv6 PTR is an easy-to-miss cause of rejections.

Verify with the command line

# Reverse lookup (IP -> name)
dig +short -x 203.0.113.25

# Forward lookup of the returned name (should match the IP)
dig +short mail.example.com

If the two do not match, FCrDNS fails and you need to fix whichever side is wrong.

FAQ

Why can't I set the PTR in my normal DNS panel?

Because the reverse zone belongs to the owner of the IP address block, your hosting provider or ISP. Set the forward record in your panel, but request the PTR from them.

Does every server need reverse DNS?

Web servers generally do not. Mail servers absolutely do, treat a valid, forward-confirmed PTR as mandatory for outbound mail.

My PTR is a generic ISP name. Is that a problem?

For sending mail, yes. Generic reverse names are strongly associated with spam and dynamic IPs. Set a dedicated hostname that forward-confirms.

Related guides

Forward-Confirmed Reverse DNS (FCrDNS): How to Check Your PTR

Forward-confirmed reverse DNS, or FCrDNS, is the round trip receivers run on your sending IP: reverse the IP to a name, then forward that name back to an IP, and insist the two match. If you remember only one email-DNS phrase, make it this one, because it is the single check that quietly gates whether your mail reaches the inbox.

Here is how to check your PTR and prove it forward-confirms, in three steps:

  1. Find your real sending IP. It is the IP your mail server connects out from, which is not necessarily your website's A record. Your mail logs or the Received: header on a test message show it.
  2. Reverse it. Look up the PTR for that IP and note the hostname it returns.
  3. Forward-confirm. Resolve that hostname and check it comes back to the exact same IP. A match passes; a generic ISP name or a mismatched IP fails.

When FCrDNS fails, the rejection often shows up in bounce logs with tell-tale wording:

Bounce signal What it usually means
"does not resolve" / "no PTR" The IP has no reverse record at all
"reverse DNS does not match" A PTR exists but does not forward-confirm
"generic rDNS" / "dynamic IP" The PTR is a pool or ISP name, not one you set

How do I check my PTR without the command line?

Paste your sending IP into the Valla DNS reverse DNS / PTR tool; it returns the PTR hostname and tells you directly whether it forward-confirms, so you do not have to run the reverse and forward lookups by hand.

Does FCrDNS replace SPF and DKIM?

No. FCrDNS is a reputation and sanity gate on the connecting IP, while SPF and DKIM authenticate the message and its domain. Receivers expect all three, so a passing PTR is necessary but not sufficient on its own.

Troubleshooting box

If results look inconsistent, compare authoritative nameservers first, then recursive resolvers by region. Capture snapshots every 10 minutes for deterministic incident timelines.

Try VallaDNS free →

Intermediate • 7 min

How to Check If DNSSEC Is Valid on a Domain

Enabling DNSSEC is not the same as validating. Check that the parent DS matches your DNSKEY, that RRSIGs verify, and read the AD flag to prove the chain works.

Intermediate • 6 min

How to Find a DNS Record's TTL (Current Value)

Find the TTL currently set on a DNS record: read the TTL column in dig and nslookup, tell the authoritative TTL from a resolver's countdown, and confirm a change.