What are MX Records?

MX records are used by mail servers to determine where to deliver email for a domain. If no email is sent or received from a domain, then there is no reason to have MX records configured within the domain. MX records are ordered based on MX priority. The lowest priority MX record is the first destination for email. MX records should only map to A records in a domain (not CNAME records), or other external mail servers to the domain. If email is sent to a domain with no MX records, mail delivery will be attempted to the matching A record. For example, if the domain example.com had no MX records, mail would be delivered the A record for example.com (if it exists).

MX Record Failover

MX records do not support DNS Failover, however, they have a sort of failover service built in. You’ll notice that when you create an MX record you have the option to set an MX Level for the record. The MX level determines the order (which mail server) that your mail will be attempted to be delivered. The mail server with the lowest MX level will first be attempted to have the email delivered.

So if you have three MX records with levels 10, 20, 30 the following would occur:

  • Mail would always be first tried to be delivered to the MX record with MX Level of 10.
  • If that mail server is down then the mail will try to be delivered to the mail server at 20.
  • If the mail server at level 20 is down then the mail will be attempted to be delivered at the mail server at level 30.
  • If the mail servers at level 20 and 30 are backup mail servers then the mail will be delivered to the mail server at level 10 when it comes back online.
  • If you have multiple MX records with the same MX level then it will set up a round robin configuration for your email.
  • The sending email server will not send email to both email servers.

MX Record Fields

Video Tutorial: How to Add, Edit, and Delete Records

ADD AN MX RECORD

AXFR1

1.Select Managed DNS and click on Domains

AXFR2

2. Select the Domain Name you want to add an MX record to.

plus_icon
add mx record

3. Under the MX Records section, click the to add a record.

4. In this screen, you will add the record information. Follow the steps below:

A) Name: Enter a name for the record. Please note, in most cases the name field of the record is left blank for MX records.
B) TTL: Edit the TTL. Time to Live is measured in seconds and is the amount of time the record will cache in resolving name servers and web browsers.
C) Server: Enter the destination mail server for the domain.
D) Level:
E) Note: Add a helpful note with keywords so you can search for your records later.
F) Save and Close: Save your changes. Don’t forget to commit your changes.

mx record 2

Information on the NX Domain feature can be found in the Disabling a Record tutorial.

NOTE: If you point to an A record within the same domain, then mail for example.com will be delivered to mail.example.com. The tool tip at the top of the record configuration screen will display how the host will resolve:

add mx record 3

If you point to a value external to the domain, then mail for example.com will be delivered to mx.mailserver.com. Please note, the value field must end in a dot (.) in order to keep the example.com domain from being appended to the end of the value. The tool tip at the top of the record configuration screen will display how the host will resolve.

EDIT AN MX RECORD

AXFR1

1. Select Managed DNS and click on Domains

AXFR2

2. Select the Domain Name you want to edit

edit_icon
edit mx record

3. Under the MX Records section, select a record by clicking the check mark next to it, then click the icon to edit a record.

Please note, you can not edit a record that has not been committed following its creation.

edit mx record 2

4. Edit any of the record data you wish to change. Click Save and Close.

DELETE AN MX RECORD

AXFR1

1. Select Managed DNS and click on Domains

AXFR2

2. Select the Domain Name you want to delete records from.

delete_icon
delete mx record
mx record delete 2

3. Under the MX Records section select a record by clicking the check mark next to it, click the icon to delete a record.

Please note, you can not delete a record that has not been committed following its creation.
4. The record will now show as strike through text, and is now in the queue of changes to be committed.

undo_icon
undo mx record

5. If this was a mistake, you can click the icon to undo the deleted record.

Was this article helpful to you?

Comments are closed.