I have an Ubuntu 18.04 droplet being used as a web host for a shared hosting setup. I need to set up a Reverse DNS record for the Web Host as outgoing emails from the hosted sites are being rejected by recipients as the server does not have Reverse DNS setup.
Unfortunately, I did not name the droplet with a FQDN, just a descriptive name: should I do this? If so, I cannot see how to name/rename the Droplet in the Digital Ocean Control Panel.
Also the DNS for the Host Servers domain is not located in Digital Ocean, but in a third party DNS hosting service, and I don’t really want to move it.
So, how do I set up a Reverse DNS record under these circumstances?
Thanks!
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!
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.
Hello, @ajdunne
The Reverse DNS is configured automatically from our end based on the droplet’s hostname.
To rename your droplet via the control panel, do the following:
Login to the Digital Ocean Control Panel
Make sure you also edit your droplet’s hostname internally as well. Update /etc/hostname and /etc/hosts and reboot.
The PTR should be automatically adjusted in few hours due to DNS cache. If this is still not working after several hours, you can contact our support team as well.
Let us know how it goes.
This is frustrating. A real DNS server has two files, one for forward DNS, the other for reverse. One simple line in each file configures the DNS for your host. It is SO simple, yet Digital Ocean, Rackspace and AWS refuse to allow you to configure reverse DNS yourself, opting to some opaque automated method that just does not work and is not fit for purpose.
I have multiple domains on a Droplet. How do you proceed there?