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

December 15, 2016 2.6k views
DNS CentOS

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
  • After changing the droplet name in the Digital Ocean Dashboard to a Fully Qualified Domain Name, the PTR records created themselves.

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.

Have another answer? Share your knowledge.