Opens in a new tab

SMTP 5.7.25: reverse DNS validation failed — the fix

5.7.25 means the sending server’s IP address has no reverse DNS (PTR record), or its PTR name does not lead back to the same address. Gmail requires both of every sender.

Code5.7.25
MeaningReverse DNS validation failed
KindPermanent failure — the sender gives up
Sent in reply toWith 550
What the sender doesReturns the message to the sender
Defined inRFC 7372

Paste your bounce

Paste the line with the code — or the whole bounce: we explain each code in it, say whether the sender will try again, and link the service’s own page where it has one. It is read in your browser; nothing is sent.

What to do

  • Set a PTR record for the sending address at your hosting provider, naming a host whose A record points back to it.
  • Sending over IPv6? Each IPv6 address needs the same.

What each provider means by it

WhoWhat they say
Gmail550 5.7.25 The sending IP address doesn’t have a PTR record, or the forward DNS entry doesn’t reference it. Its temporary forms are 421 4.7.0 and 451 4.7.23.
Microsoft 365For IPv6 only: 5.7.25, or 450 4.7.25, when the sending IPv6 address has no reverse DNS.

Bounces with this code

Related: 4.7.0, 5.7.26.

Sources

Checked on 27 September 2026 against these official sources:

See every bounce before your customers do

Add your domain and send us a test message: we show what a receiving server saw — authentication, reverse DNS, blocklists, TLS — and monitor the servers you send from for blocklistings every day. Free for your first domain.

Create a free account