550 5.7.25 The IP address sending this message does not have a PTR record setup

Gmail looked up the reverse DNS of the connecting IP and either found nothing or found a hostname that does not resolve back to that IP. Google treats a missing or mismatched PTR record as a hard requirement, so the message is refused before content is considered.

What the server replies

550-5.7.25 [203.0.113.10] The IP address sending this message does not have a 550-5.7.25 PTR record setup, or the corresponding forward DNS entry does not 550-5.7.25 point to the sending IP. As a policy, Gmail does not accept messages 550-5.7.25 from IPs with missing PTR records. For more information, go to 550 5.7.25 https://support.google.com/mail/answer/81126#ip-practices

Sent by
Gmail
Type
PermanentRetry fails
About
Authentication
Enhanced code
5.7.25

Who sends it

Gmail inbound servers at the start of the session, for any connecting IP. It hits self-hosted mail servers, servers on new cloud instances and office networks that relay directly rather than through a provider.

Why it happens

  • The server runs on a cloud or VPS IP whose reverse DNS was never set in the provider's console.
  • The PTR record points to a generic hostname like 203-0-113-10.static.isp.net that has no matching A record.
  • The PTR exists but names a hostname whose A record points at a different IP (forward-confirmed reverse DNS fails).
  • Mail leaves through a NAT or residential connection whose IP you do not control.

How to fix it

  1. Set the PTR record

    Reverse DNS is managed by whoever owns the IP, not your domain's DNS. In your cloud or hosting console find "reverse DNS" or "PTR" for the server's IP and set it to the mail server's hostname, for example mail.example.com.

  2. Match it forward

    Publish an A record for that same hostname pointing to the IP. Gmail requires the loop to close in both directions.

  3. Use the same name in HELO

    Configure your MTA's HELO/EHLO hostname to that name as well. It is not required for this code but it removes the next complaint.

  4. Or relay through a provider

    If you cannot control the IP (home connection, shared NAT), send through an SMTP relay whose IPs already have proper reverse DNS.

Check it yourself

These free tools show the records and connections behind this code for your own domain or server.

Related codes

Sources

Fewer bounces to look up.

Faivelo sends from authenticated, warmed infrastructure, turns permanent bounces into one clean event for your application and keeps the address out of future sends.

Send with Faivelo

Free tier included. No card needed.