How can I setup a PTR record, if I am not using Digital Ocean's DNS?

Posted December 15, 2016 3.1k views

I have two droplets that I am using as primary and secondary DNS servers. I realize that the PTR records have to be controlled by Digital Ocean, but as I am not using the Digital Ocean dashboard to handle any DNS, it will not allow me to add PTR records. How can I add the PTR records to DOs Reverse DNS servers without setting up the forward zones? I dont want a conflict between my DNS servers and the DOs DNS servers.

1 comment

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.

2 answers

This question was answered by @russellvernon:

After changing the droplet name in the Digital Ocean Dashboard to a Fully Qualified Domain Name, the PTR records created themselves.

View the original comment

  • This is correct. A PTR record is attached to the IP and points to a name so it is stored in the system which is authoritative for the IP address, not the one for the domain it points to.

I had this issue as well. The fix here worked exactly as stated. In fact the, PTR record is what did the trick completely. I know this because I had not set up a trusted certificate, or the SPF and DKIM DNS records yet. It surprised me because I thought it would take more than reverse lookup to fix the problem.

Submit an Answer