Reverse DNS Does Not Match the SMTP Banner: What to Check

Separate the sending IP's PTR record from the SMTP banner and outbound EHLO, then use the real rejection to identify what needs to change.

FBFenwei BianAuthorNov 24, 2026
  • email
  • smtp
  • dns
  • guide

A reverse DNS mismatch warning compares two labels. To find out whether it explains a delivery failure, identify the actual outbound IP and read the receiving server's diagnostic. A checker that connects to your inbound mail server can see an entirely different service from the one that sends your messages.

Identify three different observations

ObservationIllustrative valueWhere to look
Reverse DNS for the outbound address192.0.2.25 has PTR out1.provider.example.The IP provider's reverse DNS and a lookup for the address named in the delivery log
Server greeting220 mx1.example.test ESMTPThe service that accepted a connection on the host your checker contacted
SMTP client's outbound greetingEHLO out1.provider.exampleThe sending relay's logs or a test receiver you control

On an SMTP connection, the receiving server speaks first. The sending client follows with EHLO. RFC 5321 describes this sequence and allows a receiver to check the EHLO name. The protocol says that verification failure alone must not be the reason for refusing a message in that scenario. A receiving provider can still apply separate requirements to the sending IP and its reverse DNS.

Follow the sending address from the delivery attempt

Suppose your MX points to an inbound gateway. An external sending provider transmits your outbound mail from 192.0.2.25. Comparing your gateway's 220 mx1.example.test with that outbound provider address's PTR mixes two systems. First find the outbound IP from the failed delivery record or ask the sending provider which relay handled the attempt. On a test message that arrives, a receiver's trusted Received header can also help identify the connection.

Run dig -x 192.0.2.25 +short with the real sending IP. Then look up the returned hostname's A or AAAA record for that IP's family. Gmail's sender requirements describe this forward and reverse match. The illustrative address needs an A record on out1.provider.example that includes 192.0.2.25. If your provider sends over IPv6 too, repeat the check for that address.

Change the component named by the evidence

If reverse DNS is missing or the forward record does not lead back to the sending IP, ask the IP owner or cloud provider to help correct the pair. The ordinary DNS host may control the forward record but often cannot set the PTR. If the receiving provider names the outbound EHLO specifically, check the relay's identity configuration. For shared sending infrastructure, the mail service normally manages that configuration.

After a fix, retest through the same sending route and compare the receiving server's exact response. Leave SPF, DKIM and DMARC as separate investigations. They examine different identifiers and can fail even when the IP's reverse and forward records agree.

Sources and further reading

About the author(s)

Software Developer & Writer • Namefi
FBAuthor

Fenwei Bian is a software developer in her thirties who spends her working hours in pull requests and her weekends with her hands in soil or sawdust. Years of open source on GitHub taught her that names are interfaces: a good one is clear, honest about what it does, and kind to whoever has to use it next.

She gardens because it rewards patience and punishes wishful thinking, and she does woodwork because a joint either fits or it doesn't. Both habits show up in how she writes about naming — measure twice, check the source, and don't sand over a rough spot and hope no one notices.

For Namefi she writes about how domain markets actually move, the practical trade-offs of tokenizing and flipping names, and picking a domain you'll still be glad you own in twenty years.

Related guides

Discuss this post

View the discussion on Namefi Discuss