Improving Deliverability of Users' Emails Using Reverse DNS¶
If your users use virtual servers to send emails, mail servers may treat these emails as spam. In this topic, you'll learn how to prevent this by enabling reverse DNS management in SolusVM 2.
Most mail servers use reverse DNS resolution to verify email domains and filter those that are likely to send spam. To do so, mail servers check for DNS PTR records. A PTR record, which is the reverse version of an A record, maps the IP address to the domain name. If the mail server detects no or an invalid PTR record, emails sent from the given IP address will land in spam.
Emails from your users' domains are likely to be treated as spam because these domains don't have PTR records by default. To give your users the ability to add PTR records and pass mail server checks, you need to enable reverse DNS management in SolusVM 2.
To enable reverse DNS management:
- Get a server with PowerDNS installed.
- Enable the PowerDNS API.
To do so, you will need to add the info about an API key to the
pdns.conffile. Copy the API key name because you'll need it later.
- Log in to SolusVM 2 and go to Settings > DNS.
Select "PowerDNS" and then specify the hostname of your PowerDNS server and the API key name you copied during step 2. You can keep the "Default reverse DNS record template", "TTL", and "Port" fields filled in by default.
Once you fill in all the required fields, click Save.
Determine which IP block contains IP addresses of the servers whose users send mail. Contact your hosting provider that allocated you this IP block. Ask the provider if they can delegate the IP block to the DNS server of your choice (which is the PowerDNS server in our case) using a reverse DNS zone.
If the provider can delegate, give them PowerDNS name servers to delegate the reverse zone to. The provider will map the IP block to the reverse DNS zone.
Ask the provider for the reverse DNS zone name. You’ll need it later. The name ends with
in-addr.arpafor IPv4 or
ip6.arpafor IPv6, for example,
If the provider cannot delegate the IP block, you can't enable reverse DNS management unless you get an IP block from the provider that can delegate.
Manually create the reverse DNS zone you received from the provider (
168.192.in-addr.arpa) in PowerDNS server.
- In SolusVM 2, go to Network and add a new IP block or edit an existing one.
Select Enable reverse DNS management, specify the name of the reverse DNS zone you received from the provider, and then click Save.
You've done your share of work by enabling reverse DNS management in SolusVM 2.
Now your users can add PTR records.
We call PTR records "Reverse DNS entries" in the SolusVM 2 user interface.
To add a reverse DNS entry as a user:
- Go to
- Under the desired project, click "... servers", for example, "2 servers".
- Click the server name.
Go to the Networking tab and then click Add Reverse DNS entry.
Specify the server IP address and the email domain.
You’ve added the PTR record for the server. Emails sent from this server now have higher chances of reaching the inbox.
Users can add PTR records mapped to the main and additional IP addresses.