How to find out mail enable dns settings

domain-name-systememailmx-record

I have just installed mail enable on my server.

I need help understanding what is the IP of my mail server and where to point my MX records?

Say if my server IP is 81.222.222.222 is this where I point my MX records etc?

Best Answer

To get email working you actually need 2 DNS records.

  1. Create an "A" record that gives a name to the mail server and points to the IP. eg: mail.yourdomain.com. A 81.222.222.222
  2. Create an "MX" record that points to your mail server name. eg: yourdomain.com. MX 10 mail.yourdomain.com.

The 10 in above example is the priority. If you have multiple records, the lower the number, the higher the priority.

Related Topic