Jump to content

Correct way to set PTR DNS record for mail forwarding

Recommended Posts

I'd tried to set up mail forwarding from my Postfix server to Gmail. I'm getting the next error from Google server:

'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.'

I've seen an instruction on the support page (section named 'PTR records') there:


It advises to set up next values:

  • In the Type dropdown menu, select PTR.
  • In the Host field, enter @.
  • From the TTL dropdown menu, select 1 hour. (What is it? There aren't any dropdowns.)
  • In the Data field, enter data from your provider. (Which data? An IP address? A domain name? An IP address with '.in-addr.arpa'?)

I've tried to enter different combinations of values, like:

  • Host: '@', Data: DOMAIN
  • Host: '@', Data: IP
  • Host: IP, Data: DOMAIN
  • Host: IP.in-addr.arpa, Data: DOMAIN
  • Host: DOMAIN, Data: IP
  • Host: DOMAIN, Data: IP.in-addr.arpa

But the result was the same.

What values should I use to correctly set the PTR record?

Link to comment
  • Replies 3
  • Views 809
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

  • 3 weeks later...
  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.