
The 550 5.7.25 error means the receiving server rejected your email because your sending IP lacks a valid reverse DNS (PTR record), or the PTR record doesn’t match your forward DNS — also known as “reverse DNS validation failed” or “PTR record missing.”
Fix it by configuring a PTR record through your hosting provider that points to your mail server’s hostname, then creating a matching A/AAAA record that resolves back to the same IP.
Major email providers (Gmail, Microsoft, Yahoo) require forward-confirmed reverse DNS (FCrDNS) for accepting mail. Missing or mismatched PTR records signal spam infrastructure — legitimate mail servers have proper DNS configuration.
The fix requires coordination with your hosting provider, as PTR records are controlled by the IP address owner, not your domain registrar.
Quick skim — 550 5.7.25 error overview
The 550 5.7.25 error indicates DNS infrastructure problems rather than authentication or content issues.
| Attribute | Details |
| Error code | 550 5.7.25 |
| Category | Infrastructure / DNS validation |
| Meaning | Sending IP has no PTR or FCrDNS fails |
| Severity | Permanent (requires DNS configuration) |
| Common causes | Missing PTR, hostname mismatch, IPv6 without PTR |
| Fix approach | Create PTR → verify A/AAAA match → test EHLO |
What does reverse DNS failure mean?
Forward DNS maps hostnames to IP addresses (A record: mail.example.com → 192.0.2.1). Reverse DNS does the opposite — it maps IP addresses to hostnames (PTR record: 192.0.2.1 → mail.example.com).
Forward-confirmed reverse DNS
Email providers require FCrDNS, meaning:
- PTR record for your IP points to a hostname
- An A/AAAA record for that hostname points back to the same IP
| Step | Lookup | Result |
| 1. Reverse lookup | 192.0.2.1 → PTR | mail.example.com |
| 2. Forward lookup | mail.example.com → A | 192.0.2.1 |
| 3. Validation | IPs match? | ✓ FCrDNS passes |
If the forward lookup returns a different IP (or fails entirely), FCrDNS fails, and mail gets rejected.
SMTP banner matching
Many providers also check that your SMTP greeting (EHLO/HELO) matches the PTR hostname:
EHLO mail.example.com
The EHLO hostname should match what the PTR record returns. Mismatches trigger additional suspicion (though not always outright rejection).
Why does this error occur?
PTR record failures typically stem from configuration gaps or hosting infrastructure limitations.
Missing PTR record
Your IP address has no reverse DNS configured. Common scenarios:
- Shared hosting without a dedicated IP
- ISP-provided IP without business mail service
- New VPS without PTR setup (many providers don’t configure automatically)
Hostname mismatch
A PTR record exists but points to the wrong hostname:
- PTR points to the old hostname after migration
- PTR points to the primary hostname, but mail uses a subdomain
- PTR points to the hosting provider’s default (server42.hostingcompany.com)
Forward DNS missing
The PTR points to a valid hostname, but no A/AAAA record exists for that hostname — FCrDNS fails on the return lookup.
IPv6 without PTR
Gmail often prefers IPv6 when available. If your server sends over IPv6 but only has IPv4 PTR configured:
- IPv6 address has no PTR → rejection
- Server connects via IPv6, but you tested only IPv4
This catches many senders who assume an IPv4-only configuration.
How do you fix 550 5.7.25?
PTR configuration requires access to your hosting provider’s DNS controls (not your domain registrar).
Identify your sending IP
Determine the exact IP your mail server uses for outbound connections:
- Check your bounce message (often includes sending IP)
- Review mail server logs
- Use online tools to send a test and capture headers
For IPv6: your server may use a different IPv6 address than expected. Check /etc/postfix/main.cf or equivalent for smtp_bind_address6.
Create PTR record
Contact your VPS/hosting provider to configure reverse DNS:
- DigitalOcean: Rename your droplet to the desired FQDN
- AWS: Request PTR via Elastic IP settings or support ticket
- Linode: Set reverse DNS in the networking section
- Traditional hosting: Submit a support ticket
The PTR should point to your mail server’s fully qualified domain name (e.g., mail.yourdomain.com).
Create a matching A/AAAA record
In your domain’s DNS (at your registrar or DNS provider):
- Add an A record: mail.yourdomain.com → your.IPv4.address
- If using IPv6, add an AAAA record: mail.yourdomain.com → your:IPv6:address
Both forward and reverse must resolve to the same IP.
Configure IPv6 PTR
If your server sends over IPv6 (check logs or disable temporarily to test):
- Identify the exact IPv6 address used for outbound SMTP
- Request IPv6 PTR from your hosting provider
- Create a matching AAAA record
Alternatively, configure your mail server to prefer IPv4 for outbound connections while you sort IPv6 PTR.
Verify EHLO hostname
Your mail server’s SMTP greeting should match the PTR hostname:
- Check mail server configuration (myhostname in Postfix, ServerName in others)
- Update to match the PTR/A record hostname
- Restart the mail service
Test configuration
Use MXToolbox or command-line tools:
dig -x 192.0.2.1 # Should return mail.yourdomain.com
dig A mail.yourdomain.com # Should return 192.0.2.1
Send a test message to Gmail and check for 5.7.25 errors in the bounce or successful delivery in headers.
How do you prevent the 550 5.7.25 error?
DNS infrastructure requires ongoing maintenance as your environment changes.
Document IP assignments
Track which IPs your mail servers use:
- Primary IPv4 and IPv6 addresses
- Backup servers
- Third-party services (which have their own PTR)
Verify after infrastructure changes
Check PTR validity after:
- Migrating to new hosting
- Adding IPv6
- Changing mail server hostnames
- IP address changes
Test periodically
Run monthly deliverability tests that verify PTR records remain valid. DNS changes by hosting providers (rare but possible) can break FCrDNS without warning.
Still stuck after trying the fix?
Some email errors are easy to clear. Others point to deeper deliverability issues involving authentication, sender reputation, blacklisting, routing, or mailbox provider policy. If you would rather have an expert review it, speak with an email delieverability consultant for free and we can help diagnose the issue and fix it on your behalf.
We look beyond the error message itself to find what is actually breaking delivery, trust, or inbox placement.
From SPF, DKIM, and DMARC to blacklist cleanup, DNS alignment, and sending setup, we can guide or implement the fix.
We assess whether the error is part of a bigger pattern hurting opens, replies, and overall campaign performance.
Talk to a real deliverability expert, get honest guidance, and see the next best step without pressure or upsells.
When should you book a consultation? If the error keeps coming back, affects multiple mailboxes or domains, started after an ESP or DNS change, or is tied to spam placement, low inboxing, high bounce rates, or authentication failures, it is usually faster to get an expert involved early.
Frequently asked questions
Here are some commonly asked questions about this error:
No. PTR records are controlled by whoever owns the IP address block — typically your hosting provider or ISP. Your domain registrar controls forward DNS (A, AAAA, MX records) but not reverse DNS. Contact your hosting provider’s support for PTR changes.
Gmail enforces PTR requirements more strictly than some providers. Additionally, Gmail often prefers IPv6 connections. If you have IPv4 PTR but not IPv6, Gmail may connect via IPv6 (which lacks PTR) while other providers use IPv4. Check which IP Gmail attempted to connect from in your bounce message.
PTR changes typically propagate within minutes to hours (faster than forward DNS). However, some providers cache reverse lookups aggressively. If testing immediately after changes shows failures, wait 2-4 hours and retry.
No. Services like SendGrid, Mailgun, and Google Workspace manage their own PTR records for their sending IPs. You only need PTR configuration when running your own mail server or using SMTP relay through your own infrastructure.

