An MX record is a mail exchanger record, a DNS resource record that routes mail for a domain name. A domain name may have multiple MX records. In the following example, the MX records for the domain are and MX IN [Preference = 10] MX IN [Preference = 20]

The mail exchanger record with the lowest number preference has the highest priority.  In setting preferences for multiple MX records, you should set the highest priority mail server, i.e. the mail server you want to accept mail for your domain, with the lowest number. In the above example, the highest priority MX record for is