I am going to deploy my next big project in DigitalOcean. Before going with DigitalOcean I just want to be clear on few things about PTR records.
I have read most of community answers related to PTR records. And, up to my knowledge (understanding as well), DigitalOcean configures PTR record based on **Droplets ** name.
Should I name my droplets as “abc.com.au” or “mail.abc.com.au”?
And how do I configure A, MX, PTR records for perfect configuration so that there is no any issue related to spam and transaction of system generated mail (as far as I know, most of mail exchange services in these days do match dns and rdns for mail transaction (correct me if I am wrong))
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.
Click below to sign up and get $100 of credit to try our products over 60 days!
Hello, @eramesh11
DigitalOcean will automatically create PTR records for your Droplets based on the names you give your Droplets in your DigitalOcean control panel.
The name of your Droplet must be a valid FQDN (Fully qualified domain name), so using example.com as the Droplet name will create a PTR record, but ubuntu-s-4vcpu-8gb-fra1-01 or my-droplet will not.
It is up to you if you will use abc.com.au or mail.abc.com.au as your hostname. Usually a subdomain can be handy so you can go with something like droplet.abc.com.au and etc. Keep in mind this is totally up to you.
You can set the MX record to any subdomain of your choice like mail.abc.com.au as long as this subdomain is pointed to your droplet’s IP address. You can also set the MX record to match the droplet’s hostname, this will work too.
As for improving your outgoing emails you can make sure you have a SPF (this is basically essential)record added and also you can use any website like:
https://www.mail-tester.com/
In order to test test the spammyness of your emails. The result will tell you what else you can do in order to improve the score of your emails.
Hope that this helps! Regards, Alex