PTR records for a droplet running Vesta - Multiple domains on one droplet

September 4, 2015 1.1k views
DNS Email Ubuntu

I've searched the archive and couldn't find a clear answer to this question. If you can only have one PTR record per droplet (based on it's hostname). How can you host multiple domains on a droplet, that are expected to send emails?

2 Answers

A bit of explenation:

What Is A Reverse PTR Record?
PTR record or more appropriately a reverse PTR record is a process of resolving an IP address to its associated hostname. This is the exact opposite of the process of resolving a hostname to an IP address. Example, when you ping a name it will get resolved to the ip address using the DNS to something like Reverse PTR record does the opposite; it looks up the hostname for the given IP address. In the example above the PTR record for IP address will get resolved to

Why Do You Need A Reverse PTR Record?
The most common use for looking up a PTR record is done by spam filters. Concept behind this idea is that fly by night spammers who send e-mails out using fake domains generally will not have the appropriate reverse PTR setup at the ISP DNS zone. This criterion is used spam filters to detect spam. If your domain does not have an appropriate reverse PTR record setup then chances are most e-mail spam filtering software will block e-mails from your mail server.

How can you host multiple domains on a droplet, that are expected to send emails?
Once you got a mailserver running, you could setup a PTR record for that mailserver since its sending/receiving all the mails. All the other domains you would like to use for mail, will have to connect to your main mailserver and use that to send and receive mails from. To do this you can find alot of tutorials online, or you could use some sort of CP wich has integrated mail.

Amazing answer

Have another answer? Share your knowledge.