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.
- 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
| Observation | Illustrative value | Where to look |
|---|---|---|
| Reverse DNS for the outbound address | 192.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 greeting | 220 mx1.example.test ESMTP | The service that accepted a connection on the host your checker contacted |
| SMTP client's outbound greeting | EHLO out1.provider.example | The 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.
