Issues with PTR

I am trying to setup a custom email for a company website. The only issue is that when sending an email to a gmail account, I get the following back:

The mail system: host gmail-smtp-in.l.google.com said:
The IP address sending this message does not have a PTR record setup, or the corresponding forward DNS entry does not point to the sending IP. As a policy, Gmail does not accept messages from IPs with missing PTR records. Please visit https://support.google.com/mail/answer/81126#ip-practices for more information.

I have my records on Cloudflare as seen here:
Image of DNS records on Cloudflare

On Linode, I have the rDNS as seen here:
Image of rDNS on Linode

I used an email checker mail-tester.com to check my email noreply@example.com. It returned the following: Image of mail-tester output
I don't quite understand what the issue is as I have never done this before.

2 Replies

@caleb That is interesting that you're running into this issue. Is this a newly occurring issues or have you just created these DNS records?

If you were able to send emails from this domain to Gmail before and have recently experienced this issue, there may be a problem on Google's end. This seems to have a few other people reaching out to the Google forums for help. There doesn't appear to be a resolution on this post, but perhaps you can find further assistance on their community page.

The following Reddit post may also provide some help:
Can't send email to GMAIL (PTR missing)

If you just created this domain, you may be within the domain propagation time limit. Perhaps the DNS changes haven't propagated fully and Google is checking the servers that haven't updated your information yet.

@rdaniels Well, I have only very recently setup the email server. I can send to my own gmail accounts but that is because I have marked the email as not spam. When sending to a test gmail account as a test to see if it works, it says the error I sent above from gmail.

I believe it is an issue with the PTR record as I have no idea how to set this up.
Here is the output of the commands:

root@localhost:~# dig +short -x xxx.xxx.195.194
abbottsburgdsl3-p194.intrstar.net.
root@localhost:~# dig +short -x 194.195.xxx.xxx
194-195-xxx-xxx.ip.linodeusercontent.com.

The issue is that it the hostname isn't matching the hostname of my email server (mail.example.com). I don't really know why and I don't really know how to fix it.

I am also unsure if I should be using Cloudflare or Linode for the PTR. I've never done this before so I just need a little guidance.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct