Setting up PTR with CloudFlare

Hello. I run a email server and want to setup a PTR record for my dns. I am using Cloudflare as my dns provider. I have read that DO handles this automatically but I think that is only if you are using them for DNS. How can I set this up?

Submit an answer
Answer a question...

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Bobby Iliev
Site Moderator
Site Moderator badge
March 10, 2022


A PTR record basically maps the IP address of your server to your domain name.

DigitalOcean automatically create PTR records for Droplets based on the name you give that Droplet in the control panel.

The name must be a valid FQDN, so using as the Droplet name will create a PTR record, but ubuntu-s-4vcpu-8gb-fra1-01 or my-droplet will not.

As the PTR record is added on the DigitalOcean side, there is no need to make any changes on your Cloudflare side as you only control your domain name’s DNS there and not the reverse DNS record for your IP.

Hope that this helps!