Email

Gmail error 550 5.7.25: the sending IP has no PTR record, how to fix it

In short. Gmail refused your email because the server that sent it has no valid "reverse DNS": its IP address does not point to a host name, or that name does not point back to the same address. The recipient gets nothing. This setting is not in your domain's DNS zone: it belongs to the owner of the IP address, usually your hosting provider. Plan a conversation with them, then a test email.

550 5.7.25 is a permanent Gmail rejection. According to Google, the message is blocked because the sending IP address has no PTR record, or because the forward DNS entry does not reference that IP address. Google states that sending IP addresses must have a PTR record.

Last verified: November 29, 2026, in Google's official help (the list of Gmail SMTP errors and the email sender guidelines).

The message you receive

The text Gmail returns, in English:

550 5.7.25 This message was blocked because the sending IP address doesn't have a PTR record,
or the forwarding DNS entry doesn't reference the sending IP address.
Gmail requires that sending IP addresses have a PTR record.

What PTR means

"Normal" DNS turns a name into an address (an A or AAAA record). Reverse DNS does the opposite: it turns the IP address into a name, with a PTR record. Gmail wants the two to agree: the sending server's IP points to a name, and that name points to the same IP. Google's sender guidelines ask for valid forward and reverse DNS, with an IP that matches the one of the PTR's host name.

Who is affected

Senders who send from their own server or from an IP address they rent: a dedicated server or VPS, a mail server installed in-house, an application that sends directly without going through a mail service. If you send through Google Workspace, Microsoft 365 or a newsletter tool, the service manages the PTR of its own servers: the cause is then more likely elsewhere, see 550 5.7.26.

Expected values

CheckExpected value
PTR of the sending IPa host name, for example mail.example.com
A (or AAAA) of that namethe same IP address
IPv6if the server sends over IPv6, the IPv6 address needs a PTR too

Step 1: find the sending IP address

In the error message or in the header of a message that went out (look at the last Received line on your server's side), note the sending IP address. Below, 203.0.113.25 is an example address: use yours.

Step 2: read the PTR

dig +short -x 203.0.113.25

If the command returns nothing, there is no PTR: that is the cause of the error. If it returns a name, for example mail.example.com. (the trailing dot is normal), go to the next step. On Windows: nslookup 203.0.113.25.

Step 3: read the name's address back

dig +short A mail.example.com
dig +short AAAA mail.example.com

The address returned must be exactly the sending IP. If it differs, or if there is none, the forward entry does not point to the IP: that is the second cause of the error.

Step 4: get it fixed

  1. Choose a name for the sending server, inside your domain: mail.example.com.
  2. Create the A record (and AAAA if IPv6) for that name, pointing to the sending IP, in your domain's DNS zone.
  3. Have the PTR created: the PTR record lives in the reverse zone of the IP address, which belongs to whoever rents you the address. In your host's dashboard, look for "reverse DNS" or "rDNS"; otherwise ask its support, giving the IP and the name you want.
  4. Have the mail server announce the same name itself (its greeting host name, HELO/EHLO), so everything agrees.
  5. Wait for the change to be visible (dig -x returns the new name), then resend a test message to a Gmail address.

Step 5: check the rest

The PTR is only one of Gmail's checks. Authentication is still required: our free SPF checker, DKIM checker and DMARC checker read your records from the Internet. Guides: SPF, DKIM, DMARC.

Check your domain for free. AttackScout reads your SPF, DKIM and DMARC from the Internet and tells you which one is the problem. In one minute, no account. Check my domain

To keep watching your records over time, see the pricing.

Frequently asked questions

550 5.7.25: can I create the PTR in my domain's DNS zone?

Not usually. The PTR lives in the IP address's reverse zone, managed by the owner of the IP. Ask your hosting provider.

550 5.7.25: does the PTR replace SPF?

No. They are two separate checks. Gmail also requires sender authentication.

550 5.7.25: my server sends over IPv6. Is there a special rule?

Google documents an IPv6 sending error (550-5.7.1): "Message does not meet IPv6 sending guidelines regarding PTR records and authentication". So the server needs a PTR for its IPv6 address, and authentication must pass.

Sources

Accessed on 11/29/2026.

Get the free alerts