When your mail server connects to another, the receiver knows only your IP address. One of the first things many receivers do is ask the DNS what name belongs to that address, and then ask what address belongs to that name. If the two answers agree, the address has what is called forward-confirmed reverse DNS, or FCrDNS. If there is no name, or the name leads to a different address, or the name looks like part of a dynamic consumer pool, a surprising number of servers slow the connection, add spam points or refuse the mail outright. FCrDNS is cheap to get right and expensive to get wrong, which makes it one of the first items on any mail server checklist. This guide explains the concept, how it relates to the HELO name and your SPF record, how to set it up, what changes with IPv6 and how to diagnose failures. It builds on reverse DNS and PTR records, HELO and EHLO errors and DNS records for email.
The three names of a mail server
| Name | Where it comes from | Who checks it |
|---|---|---|
| PTR name (reverse DNS) | A PTR record in the reverse zone of the IP block, controlled by the IP owner | Receivers, to see who the IP claims to be |
| Forward name (A/AAAA) | An address record in your own domain's zone, for example mail1.example.com | Receivers, to confirm the PTR name points back |
| HELO/EHLO name | The name your server sends at the start of each SMTP session | Receivers, and SPF when the envelope sender is empty. See the null sender |
The simplest and most robust arrangement is to use one fully qualified name for all three. For the IP address 203.0.113.25:
# Reverse zone (set by your provider)
25.113.0.203.in-addr.arpa. PTR mail1.example.com.
# Your zone
mail1.example.com. A 203.0.113.25
# MTA configuration
myhostname = mail1.example.com # HELO/EHLO name announced
# SPF for the HELO name (optional but useful)
mail1.example.com. TXT "v=spf1 a -all"How receivers evaluate it
| Observation | Typical effect |
|---|---|
| No PTR record | Rejected by strict receivers; spam points elsewhere (for example RDNS_NONE). Treated as unprofessional |
| PTR exists but the name has no A/AAAA record | FCrDNS fails; reduced trust |
| PTR name resolves to a different IP | FCrDNS fails |
| PTR name looks dynamic (contains the IP digits, "dsl", "dyn", "pool", "cust") | Often treated as a consumer connection, which should not send direct mail |
| PTR name belongs to your hosting provider rather than your domain | Acceptable for FCrDNS, but your brand is not visible and the provider's reputation is shared; better to set your own |
| PTR, A and HELO all match and the domain is yours | Best case |
| HELO name does not match the PTR | Not always fatal, but some filters add points; avoid the mismatch |
| Multiple PTR records for one IP | Allowed but confusing; keep one for mail |
| PTR exists for the IPv4 address but not for the IPv6 address you use | Receivers that check IPv6 treat it as missing. See IPv6 sending |
Setting it up
- Choose the name. Use a subdomain of a domain you own, such as mail1.example.com. It should not be a customer-facing or marketing host name that may change.
- Create the A (and AAAA) record in your DNS zone pointing to the sending IP.
- Request the PTR record from the owner of the IP. With most cloud and hosting providers you can set it in the control panel or ask support; for dedicated blocks from an ISP you may need to request delegation of the reverse zone.
- Set the same name in your MTA as the HELO/EHLO name (for example
myhostnamein Postfix) and restart the service. - Check from outside: look up the PTR and then the A record, and send a test message to read the Received header the other side recorded. See reading Received headers.
- Wait for caches. Reverse DNS changes propagate according to TTLs, normally within minutes to hours.
- Document the mapping of IP to name so changes of provider or server do not leave dangling records.
# Check the chain with dig
dig -x 203.0.113.25 +short # expect: mail1.example.com.
dig mail1.example.com A +short # expect: 203.0.113.25
dig mail1.example.com AAAA +short # expect your IPv6 address if you send over IPv6
# What the server announces
swaks --to [email protected] --server mail1.example.com --quit-after EHLOMany IPs, many names
If you operate a pool of sending IPs, give each one a distinct, meaningful name, for example mta01.mail.example.com to mta20.mail.example.com, and keep the PTR, A record and HELO aligned for every address. Avoid a single shared PTR name pointing to many IPs: the forward lookup returns many addresses, and while the check still works if the connecting IP is among them, it becomes harder to read and to troubleshoot. Automate the records from your inventory so that new IPs never go into service without them. See IP pools and warming up new IPs.
IPv6 notes
- IPv6 reverse zones use the
ip6.arpadomain with nibble-reversed addresses; providers often handle them for you, but not always automatically. - A server with IPv6 enabled may connect over IPv6 by preference. If the IPv6 address has no PTR or AAAA match, receivers that check it will see a failure even when your IPv4 is perfect.
- Either set complete records for both families, or disable IPv6 outbound delivery until you can. See IPv6 sending.
- Because IPv6 blocks are large, reputation systems often judge a whole /64 together; consider that when sharing a block with other services.
Common failures and fixes
| Problem | Cause | Fix |
|---|---|---|
| SpamAssassin RDNS_NONE or "no reverse DNS" | No PTR set | Ask the IP owner to set it |
| PTR is the provider default (ip-203-0-113-25.provider.example) | Never customised | Set your own name; the default may look dynamic |
| PTR name does not resolve | A record missing or typo | Create the A/AAAA record |
| Receiver says "HELO does not match PTR" | MTA announces localhost or an internal name | Set myhostname/EHLO to the public name |
| Works over IPv4, fails over IPv6 | Missing IPv6 PTR/AAAA | Add records or disable IPv6 for outbound |
| PTR points to a name under someone else's domain | Used a shared host name | Use your own domain for brand clarity and reputation |
| Record changes do not appear | Cached results or the wrong zone was edited | Query the authoritative server directly with dig @ns |
What FCrDNS does not do
FCrDNS proves only that the owner of the IP and the owner of the name agree. It does not prove that the message is legitimate, and it is no substitute for SPF, DKIM and DMARC. Spammers can set perfectly valid reverse DNS on their own servers. It is a baseline hygiene check: failing it makes your mail look careless, passing it removes one easy reason for rejection. See authenticating your sending domain for the rest of the picture.
Quick checklist
- PTR exists for every sending IPv4 and IPv6 address.
- The PTR name is under a domain you control and does not look dynamic.
- The PTR name has an A/AAAA record that returns the same IP.
- The MTA announces that same name in EHLO.
- The name has a simple SPF record of its own.
- Records are documented and monitored, with an alert if they disappear.
Reverse DNS is one of the few mail settings you cannot change yourself without help from your IP provider, so ask for it early. Once PTR, A record and HELO name line up, the matter is settled for years.
Check your sending IP Look for listings and DNS problems.
References and further reading
Frequently asked questions
What is FCrDNS?
Forward-confirmed reverse DNS: an IP resolves to a name through its PTR record, and that name resolves back to the same IP.
Who sets the PTR record?
The owner of the IP block, usually your hosting or cloud provider, through a control panel or support request.
Should the HELO name match the PTR?
Yes. Use the same fully qualified name for HELO, PTR and the A record to avoid filter penalties.
Does IPv6 need its own PTR?
Yes. If your server sends over IPv6, set PTR and AAAA records or disable IPv6 outbound delivery.
Does FCrDNS replace SPF and DKIM?
No. It is a baseline check that proves IP and name agree, not that the message is legitimate.