← Back to Blog

550 5.7.25 from Gmail: the missing reverse DNS record on your sending IP, and the order we fix it

  • Gmail
  • Google Workspace
550 5.7.25 from Gmail: the missing reverse DNS record on your sending IP, and the order we fix it

Say a 12-person distributor has two mail paths. Staff mail leaves through Google Workspace and lands fine. Invoices leave from the ERP on a small server in the office, and every invoice addressed to a gmail.com mailbox comes straight back with 550-5.7.25. Nobody touched the ERP. Nobody edited DNS. The mail was refused before Google ever looked at the message.

This is the bounce we see most often on servers that were quietly working for years. It has nothing to do with your content, your SPF record or your domain reputation. It is about the IP address your server connects from, and whether the rest of the internet can look that address up by name.

What the bounce is actually telling you

Google's sender guidelines FAQ describes the 5.7.25 response as a block because the sending IP address does not have a PTR record, or because the forward DNS entry does not reference the sending IP address (wording checked 16 November 2026). That is two different failures sharing one code:

  • No PTR at all. A reverse lookup on the connecting IP returns nothing.
  • A PTR that does not round-trip. The IP resolves to a hostname, but that hostname has no A or AAAA record pointing back to the same IP.

The second one causes the long arguments, because the PTR looks present and correct in any lookup tool. The check is a round trip, not a single lookup. Google's Email sender guidelines put it plainly: sending domains or IPs need valid forward and reverse DNS records, and the sending IP must match the IP address of the hostname named in the PTR record. Those requirements are written for mail delivered to personal Gmail accounts, and reverse DNS sits in the infrastructure section that applies to senders generally, not only to high-volume ones.

Find the IP that actually connected

The first mistake is fixing the wrong address. The IP in the bounce is the one that opened the SMTP connection, which is often not the IP your website runs on, not the IP your router shows you, and not the IP of the hostname in your MX record. On a small network with one static address they are the same. Behind a firewall doing source NAT, a secondary interface, or a provider that sends outbound through a different pool, they are not.

Take the address out of the bounce text itself, then confirm it against a message that did get delivered: the topmost Received header added by the recipient's server records the IP it accepted the connection from.

The two commands that settle it

Run both, in this order, against the IP from the bounce.

dig -x 203.0.113.25 +short
mail.example.com.

dig +short mail.example.com
203.0.113.25

Empty output from the first command means there is no PTR record. A hostname means there is one, and then the second command has to return the same address you started with. If it returns a different IP, or nothing, the round trip fails and the result is the same rejection. RFC 1912 set this expectation long before mailbox providers enforced it: for every IP address there should be a matching PTR record, and a PTR should point to a name that has its own address record rather than to a CNAME alias.

Reverse DNS does not live in your domain's DNS

This is the part that costs people a week. Forward DNS for example.com is delegated to whoever runs that zone, which is usually your registrar or your DNS host, and you can edit it yourself. Reverse DNS for 203.0.113.25 is delegated to whoever holds the IP block: the hosting company, the cloud provider, or the ISP that sold you the static address. There is no PTR field in your domain's zone that will fix this. Adding a record called mail in your registrar's panel does nothing for the reverse lookup, and a DNS provider that proxies your traffic does not control reverse DNS for an IP it does not own.

So the fix is almost always a request to a specific party. Here is who that is, by how the mail leaves.

How you sendWho controls the PTRWhat to ask for
VPS or dedicated serverThe hosting provider, through its panel or a support ticketA PTR on the sending IP pointing to a hostname in a domain you control, such as mail.example.com
Google Cloud VMYou, on the instance's network interfaceVerify the domain in Search Console with the same account, then add the public DNS PTR record on the interface
Static business line, mail server on siteThe ISPA PTR on the static IP; business plans usually allow it, residential and dynamic plans usually do not
Shared hosting or cPanelThe host, and the IP is shared with other customersConfirmation that the shared IP's PTR round-trips; you cannot set it, and you may need to move off the shared IP
An email provider, or a relay through Google WorkspaceThe providerNothing on your side; the connecting IP is theirs and they maintain its reverse DNS

Ask for a hostname you can keep

When the provider asks what to point the PTR at, give a name you control and will keep, in a domain that is yours, and then create the matching A record yourself so the round trip closes:

mail.example.com.   3600   IN   A   203.0.113.25

Two details worth getting right while you are in there. Make your server announce the same name in its SMTP greeting, so the HELO or EHLO name, the PTR hostname and the A record all agree. And prefer a name of your own over the generic hostname a provider assigns by default. A generic hostname can round-trip correctly and satisfy the check, but it tells a filter that the IP is interchangeable, which is not the impression you want while you are also rebuilding reputation.

IPv6 is where this bites a second time

A server with both an IPv4 and an IPv6 address will usually prefer IPv6 when the recipient's MX hostname has an AAAA record, and Google's do. The address Google sees is then your IPv6 address, and a perfect IPv4 PTR is not consulted at all. We have fixed this exact case after a correct IPv4 record had already been in place for years.

Either set reverse DNS for both addresses, or take IPv6 off the mail path so the server is forced back to the address you can prove. On Google Cloud, a dual-stack network interface takes separate IPv4 and IPv6 PTR records, so both have to be added deliberately.

What to do when a PTR is not available

Some senders cannot get one: a shared IP, a residential or dynamic line, an office connection the ISP will not configure. The answer then is to stop delivering directly. Route the outbound mail through a service whose IPs already have maintained reverse DNS. Google Workspace's SMTP relay exists for exactly this shape of sender, on-premise devices and applications whose outbound mail is sent with Google's SMTP servers, which means the address that delivers to the recipient is Google's rather than yours.

Relaying moves the reverse DNS problem off your plate, but it does not move authentication. Your domain's SPF record still has to authorize the path, your mail still has to carry a DKIM signature that aligns, and the relay has its own sending limits and allowed-sender configuration. Our walkthrough of the Workspace SMTP relay and Send mail as covers the settings in order.

It is not only Gmail asking

Outlook.com's postmaster policies state that email servers connecting to Outlook.com must have valid reverse DNS records, and its troubleshooting guidance warns that mail from senders failing a reverse lookup may not be accepted. One record fixes both destinations, which is why we treat reverse DNS as a baseline on any server that sends its own mail, not as a Gmail-specific chore.

After the record is in place

Reverse zones carry their own TTLs, so give the change time and re-run both lookups rather than resending immediately. Then check the rest of the path:

  1. Confirm every IP the server can send from, not just the one in the bounce. A multi-homed host needs a PTR for each address it uses.
  2. Resend one message to a Gmail address and read the result. A clean delivery closes the case; a new code means a new cause.
  3. Check authentication, because a valid PTR is not authentication. The next rejection in line is usually 550 5.7.26 for unauthenticated mail, which is about SPF, DKIM and alignment.
  4. Watch the first week of volume. A server that was bouncing for a while has stale queues that can flush all at once and trip rate limits.

How Guanacos Tech helps

Most of the work on this bounce is not technical, it is knowing which of four parties owns the record and asking them for the right thing in one message instead of four. We read the bounce, find the IP that actually connects, test the round trip, write the request your provider needs, and then verify the authentication behind it so the next message does not fail for a different reason. If invoices or notifications from your own server are bouncing, our email deliverability consulting for small business starts with a 30-minute call to look at the bounce and tell you who has to change what.

Sources

Next step

Would you rather we did this for you?

Thirty minutes on Google Meet, free. We look at your domain or project with you, tell you what is wrong and what we would do first. If you can fix it yourself, we say so.

Book a 30-minute call or read about our email deliverability service

Frequently asked questions

Can I add a PTR record in my domain's DNS panel?

No. Reverse DNS for an IP address is delegated to whoever holds the IP block, so the record has to be created by your hosting provider, cloud provider or ISP. The only part you create in your own zone is the A or AAAA record that points the PTR hostname back to the same IP.

Does a Google Workspace mailbox need a PTR record?

No. When your users send through Gmail, the connecting IP belongs to Google and Google maintains its reverse DNS. This error shows up when a server, appliance or application of yours delivers mail directly, such as an ERP, a CRM, a scanner or an on-premise mail server.

How long after the PTR is set should I retry?

Reverse zones have their own TTLs, so repeat both lookups instead of guessing. Once a reverse lookup on the IP returns the hostname and a forward lookup on that hostname returns the same IP, send one test message and read the result rather than flushing the whole queue.