All ArticlesEmail2026-11-14T19:12:04+08:00

Emails Bouncing with 550 Reverse DNS Mismatch? Verify PTR Records Step by Step

Your server sends mail but remote servers reject it with a 550 error citing reverse DNS failure. After reading, you will know how to check your PTR record, confirm it matches your HELO hostname, and verify the fix using dig and telnet.

Your outbound mail worked fine yesterday. Today, bounce messages pile up with a 550 error saying something about "reverse DNS" or "PTR lookup failed." The remote server flat-out refused your message before even looking at its content. This is one of the most common — and most fixable — email delivery failures, but only if you understand what the receiving server actually checked and why it said no.

What the bounce message tells you

A typical 550 reverse DNS bounce looks something like this in the bounce body or mail log:

550 Your server IP (203.0.113.45) does not have a reverse DNS (PTR) record

or:

550-Verification failed for <sender@yourdomain.com>
550 Reverse DNS lookup failed for 203.0.113.45

The exact wording varies by receiving server, but the meaning is the same: the remote mail server took your sending IP address, ran a reverse DNS lookup on it, and either got no result or got a hostname that did not check out.

This is not SPF. This is not DKIM. This is a more fundamental check that happens before those mechanisms even come into play. Many large mail providers — Gmail, Microsoft, Yahoo — treat a missing or mismatched PTR record as a strong signal that the sending server is not legitimately configured, and some reject outright.

Investigation: what reverse DNS actually checks

When your server connects to a remote mail server on port 25, two things happen that matter here:

  1. Your server announces itself with a HELO or EHLO hostname (for example, mail.yourdomain.com).
  2. The remote server sees your connecting IP address and does a reverse lookup — it queries DNS for the PTR record of that IP.

The remote server then typically does a third step called Forward-Confirmed Reverse DNS (FCrDNS). It takes the hostname returned by the PTR lookup and does a forward A record lookup on that hostname. If the A record points back to the original IP, the check passes. If it does not, or if there is no PTR record at all, the check fails.

Three failure modes exist:

  • No PTR record at all. The IP has no reverse DNS entry. The remote server gets NXDOMAIN or an empty answer.
  • PTR exists but points to a generic hostname. Something like 45.113.0.203.static.provider.net — not matching your mail domain or HELO hostname. Some receivers accept this, many do not.
  • PTR exists, points to a real hostname, but the forward lookup on that hostname resolves to a different IP. This is the FCrDNS mismatch. The chain breaks.

Critical discovery: where the record lives and who controls it

Here is where people get stuck. Your regular DNS zone — the one where you manage A records, MX records, SPF — does not contain your PTR record. PTR records live in a special reverse DNS zone, and that zone is controlled by whoever owns the IP address block.

If you rent a VPS or dedicated server, the IP address typically belongs to your hosting provider or their upstream network provider. You cannot create a PTR record in your domain's DNS zone at your registrar. You need to set it where the IP is managed.

Some VPS providers expose PTR configuration in their control panel. Others require you to open a support ticket and ask them to set it. The key detail: you need to tell them which hostname the PTR record should resolve to, and that hostname must have a forward A record pointing back to the same IP.

If you recently migrated to a new server and mail started bouncing, this is almost certainly the cause. PTR records do not migrate with your DNS zone — they stay with the old IP at the old provider. For a deeper look at that specific scenario, see Moved Mail to a New Server and Gmail Rejects It? Reverse DNS Didn't Move With You.

Step-by-step verification with dig and telnet

Before requesting changes, confirm the current state. You need to check three things: what PTR your IP currently has, what your server announces as its HELO hostname, and whether the forward lookup completes the chain.

Check the PTR record for your sending IP:

dig -x 203.0.113.45 +short

Replace 203.0.113.45 with your actual server IP. If this returns nothing, there is no PTR record — that is your problem. If it returns a hostname like mail.yourdomain.com, proceed to the next check.

Check the forward A record for that hostname:

dig A mail.yourdomain.com +short

The result must be 203.0.113.45 — the same IP you started with. If it returns a different IP or nothing, FCrDNS fails.

Check what your mail server announces as its HELO hostname:

This depends on your MTA. In Exim (common on cPanel servers), the HELO hostname is typically configured in WHM under Exim Configuration Manager, or set via the server's primary hostname. In Postfix, check myhostname in /etc/postfix/main.cf. The HELO hostname should match the hostname your PTR record points to.

You can also verify what a remote server sees by connecting to your own server from outside:

Open a terminal on a different machine and run:

telnet your-server-ip 25

The banner line will show the EHLO/HELO hostname your server presents. Compare it to what the PTR record returns.

Temporary mitigation

While waiting for a PTR record change to propagate (or for your provider to action a ticket), you have limited options. You cannot fix this from your DNS zone. If mail is urgent, routing outbound mail through a third-party SMTP relay service that has its own properly configured PTR records is one workaround. This means configuring your MTA to use a smarthost or relay host instead of delivering directly. The relay service's IPs will have correct reverse DNS, so the receiving server's check passes.

This is a band-aid, not a fix. It adds a dependency and potentially a cost. Get the PTR record sorted.

The architectural fix

The permanent fix requires three records to agree with each other:

  1. PTR record for your sending IP must point to a hostname you control (e.g., mail.yourdomain.com). Set this with whoever owns the IP block.
  2. A record for that hostname must point back to the sending IP. Set this in your domain's DNS zone.
  3. HELO/EHLO hostname in your MTA configuration must match that same hostname.

All three must form a consistent chain: IP -> PTR -> hostname -> A -> same IP. And the HELO must announce that same hostname.

After making changes, wait for DNS propagation (PTR records can take anywhere from minutes to hours depending on the provider), then re-run the dig -x and dig A checks above. Send a test email to an external address and watch the logs for the response code. A 250 response means the remote server accepted the message.

Common mistakes that re-break things

Changing the server's primary IP without updating the PTR. If your provider assigns you a new IP for any reason — migration, IP swap, network change — the old PTR record becomes stale. The new IP has no PTR, or has a generic one.

Setting the PTR to a hostname that does not exist in DNS. If you set the PTR to mail.yourdomain.com but never create an A record for mail.yourdomain.com, FCrDNS fails.

Multiple IPs on the server, mail going out on the wrong one. Your MTA might bind to a different IP than the one you set the PTR for. Check your MTA's outbound interface configuration.

HELO hostname set to localhost or the bare domain. Some default installations announce localhost or just yourdomain.com as the HELO. Neither will match a PTR record that points to mail.yourdomain.com.

Reverse DNS is one of the oldest anti-spam checks. It predates SPF, DKIM, and DMARC. It is also one of the easiest to get right — once you know that the PTR record lives with the IP owner, not in your domain's zone. Confirm the three-way match (PTR, A record, HELO), verify with dig, and the 550 bounces stop.