How to configure Reverse DNS for multiple virtual servers in virtualmin

I have read most of what i can find but cant find an answer.

Essentially I have a droplet with a domain that I dont use.

In that droplet I have Virtualmin and have three servers, each with emails.

They are having their mail blocked because there is no reverse DNS set up for the domains.

I have read that Digital Ocean sets up the reverse DNS automatically for the domain associated with it. However, there appears no way to set the reverse DNS for the sub servers.

How can i do that?

Just to make it clearer, I have a domain that I set my droplet up on.

I have on a virtual server setup in VirtualMin and his emails are being blocked because the domain lacks a reverse DNS PTR record or whatever you call it.


@jceng Hi! I’m sorry about that. Unfortunately the spam filter catches some actual non-spam posts every once in a while. I’ve just published your post with the details and it should now be visible to everyone.

Well, I spend 10 minutes expanding on this only to have my answer blocked by Digital Ocean as spam

Submit an 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.

Just to help out im including the error message

Reporting-MTA: dns; X-Postfix-Queue-ID: 7D58E12032C X-Postfix-Sender: rfc822; Arrival-Date: Fri, 8 Apr 2016 10:12:19 -0400 (EDT)

Final-Recipient: rfc822; Original-Recipient: rfc822; Action: failed Status: 5.0.0 Remote-MTA: dns; Diagnostic-Code: smtp; 550 Your server IP address [] is missing a reverse DNS entry. See for more information. Protection provided by MagicSpam 2.0.0-1

PTR records are associated with the name of your droplet. By renaming your droplet, you set the PTR record associated with its IP address.