Gmail rejecting emails due to missing or incorrect PTR record – how to set this up correctly?

maxb1999

Verified User
Joined
Dec 27, 2024
Messages
11
Hi all,

I'm facing an issue where emails from one of my clients are not being delivered to Gmail addresses. Here's part of the error message:

550-5.7.25 ... The IP address sending this message does not have a PTR record setup, or the corresponding forward DNS entry does not match the sending IP.
Gmail does not accept messages from IPs with missing PTR records.

The sending server is using DirectAdmin. I checked the PTR record using a DNS lookup tool and noticed that the PTR (reverse DNS) points to a different hostname than the one used for sending mail.

I’ve already added the DNS record that Google suggested through postmaster.google.com, but that didn’t solve the issue.

My question:
What is the correct way to set up a PTR record for my server’s IP address, so that Gmail accepts the messages? Is this something I can configure in CloudFlare myself?

Thanks in advance for your help!
 
PTR records must typically be set up by the provider you got your IP address from, so you'll need to contact them.
 
Hi all,

I'm facing an issue where emails from one of my clients are not being delivered to Gmail addresses. Here's part of the error message:



The sending server is using DirectAdmin. I checked the PTR record using a DNS lookup tool and noticed that the PTR (reverse DNS) points to a different hostname than the one used for sending mail.

I’ve already added the DNS record that Google suggested through postmaster.google.com, but that didn’t solve the issue.

My question:
What is the correct way to set up a PTR record for my server’s IP address, so that Gmail accepts the messages? Is this something I can configure in CloudFlare myself?

Thanks in advance for your help!
1. Point A record hostname (sub domain) to VPS IP
2. Contact VPS provider, set PTR (rDNS) IP to hostname
Done
 
Back
Top