Messaging Fundamentals Series

🔍 Why a Sending Mail Server's PTR Record (Reverse DNS) Is Essentially Mandatory From a Top 1% Perspective — FCrDNS, a Deeper Forward-Match Verification

Introduction

This article is part of the Top 1% Series Complete Article Guide, and article 4.2 in the Mail Infrastructure Series.

Prerequisite Knowledge

Getting the Big Picture

A PTR record is a DNS record for “reverse” lookups — deriving a hostname from an IP address, the opposite direction of an A record (hostname → IP address). Many receiving mail servers, right after accepting an SMTP connection, first check whether a PTR record even exists for the connecting IP address. A sending IP address with no PTR record at all gets treated as a typical characteristic of spam senders or a poorly managed server, and that alone can get the connection rejected outright, or counted heavily toward a spam classification. This verification is completely independent of domain-level mechanisms like SPF, DKIM, and DMARC — even if every domain-side setting is correct, missing a PTR record alone can get a message rejected right at that point.

graph TB
    A["Sending IP address"] -->|Reverse lookup via PTR record| B["Hostname (e.g., mail.example.com)"]
    B -->|Forward lookup of that hostname via A record| C["IP address"]
    C -->|Verify it matches the original IP address| D["FCrDNS: verification succeeds if it matches"]

Deep Dive Into the Fundamentals

Why a Missing PTR Record Gets Treated as a Red Flag

A mail server operated by a legitimate organization with a valid reason normally has a properly configured PTR record for its IP address. On the other hand, spam senders often send mass mail from countless IP addresses that are temporarily hijacked or dynamically assigned, and these IP addresses almost always lack a proper PTR record. From this empirical tendency, the industry-wide standard “suspect any sender with no PTR record first” has become widely adopted. In fact, starting in November 2025, Gmail strengthened its handling of senders lacking a PTR record, moving from a temporary deferral to a permanent rejection (a 550 error).

FCrDNS: Why a Reverse Lookup Alone Isn’t Enough

Merely having a PTR record isn’t a sufficient verification yet. That’s because the PTR record itself is a setting controlled by the IP address’s administrator (usually a cloud provider or ISP), and in theory a sender could set up a convenient-looking hostname with just the right appearance. To address this, mail servers performing stricter verification run a two-stage check called FCrDNS (Forward-Confirmed reverse DNS, forward-match verification).

  1. Reverse lookup: Get the hostname from the connecting IP address’s PTR record.
  2. Forward lookup: Look up that hostname again, this time as an A record, and verify whether the resulting IP address matches the original connecting IP address.

By requiring this round-trip match, only an organization actually and correctly managing both “the PTR record setting” and “the corresponding A record setting” can pass the check — a far more reliable confirmation.

Practical Notes on Setting a PTR Record in an AWS EC2 Environment

On an AWS EC2 instance, the PTR record for an Elastic IP address isn’t set by default, and is managed by AWS itself, so you can’t set it purely from your own DNS server’s side. If you want to set a PTR record, you need to request the change through AWS Support Center. Furthermore, before AWS will set a PTR record, it requires the corresponding A record (forward lookup) for the hostname the PTR record points to, to actually already be set, pointing to that Elastic IP address. In other words, note that there’s an ordering constraint: you can’t even request the PTR record setting from AWS until you first prepare the forward A record.

What a Pro Sees Here (Top 1% Understanding)

PTR/FCrDNS Verifies “the IP Address’s Identity,” While SPF/DKIM/DMARC Verifies “the Domain’s Identity”

Sorting out the layer difference between these two verifications: PTR/FCrDNS is an identity check on the IP address itself — “is this connection genuinely coming from the owner of the hostname it claims to have?” — while SPF/DKIM/DMARC is an identity check on the domain — “is the domain this mail claims to come from actually a sender that domain’s own administrator has authorized?” Modern major mail providers’ basic design is that only once both checks pass independently does a sender get judged sufficiently trustworthy. When you build your own mail server, it’s easy to focus solely on SPF, DKIM, and DMARC settings — but you should first confirm, on the cloud provider or ISP’s side, whether you can actually set a PTR record correctly (or whether an appropriate one is already assigned).

Common Misconceptions and Pitfalls

Troubleshooting Perspective

  1. Mail sent from your own self-built mail server doesn’t reach Gmail and similar providers, or lands in spam: Check whether a PTR record is set for the sending IP address, using something like dig -x <IP address>.
  2. A PTR record is supposedly set, but some strict receivers still reject the mail: Check the hostname the PTR record returns via a forward lookup (an A record), to confirm it matches the original IP address (FCrDNS).
  3. You want to set a PTR record in a cloud environment: Check in advance what procedure (a support ticket, a dedicated API) that cloud provider uses to accept PTR record changes.

Summary

Takeaways to Apply Today

  1. When building your own mail server, check whether a PTR record is correctly set for the sending IP address with the same priority as SPF, DKIM, and DMARC settings.
  2. When building a mail server in a cloud environment, always check how that provider accepts PTR record changes, before you build it.

References

Comments

Feel free to leave thoughts, questions, or corrections below (sign in with a GitHub account to comment or react).