How to configure email, reverse DNS & PTR for google apps for work?

November 13, 2014 2.3k views

I am a complete beginner, so bear with me.
I have successfully created a droplet, and installed my wordpress there.
I am also using cloudflare for my CDN.
Unfortunately I couldn't get email to work. (Im using third party service for email aka google apps for work)
The email sent from my wordpress is marked as spam.
Upon further conversation with google support, I was told that this is because my PTR/reverse DNS has not been set up.
(as listed on this website:

I have looked at a few tutorials, but they all involved setting up FQDN, to my understanding I need to setup something like for FQDN. Is not considered an FQDN?

for information,
My domain/URL is
my droplet is called

when i do #hostname, i received -->
and when I do # hostname -f, I received -->

Can anyone guide me on how to set PTR/reverse DNS so that my emails are no longer marked as SPAM?

1 Answer

Hey there,

A FQDN would be We automatically configure PTR records based on the name of the Droplet. If the Droplet is named a FQDN the PTR will automatically have a proper reverse DNS. Notably you will want a matching forward DNS record pointing back at the IP address.

Happy coding,

Jon Schwenn
Platform Support Specialist

Have another answer? Share your knowledge.