What MX records are
The MX records tell other mail servers where email to the domain should be delivered. Without an MX record the domain cannot receive email.
Priority
Every MX record has a number. The server with the lowest number is tried first. Equal numbers share the traffic.
Domains that do not receive email
A domain that should not receive email should have a null MX, which is one MX record with priority 0 and only a dot. Senders then know not to try.
Common mistakes
- MX points to an IP address. It must point to a host name that has an A or AAAA record.
- MX points to a CNAME. That is not allowed by the standard, even if some servers accept it.
- Old MX records from the previous provider remain after a move, so some email is delivered to the wrong place.
If you change email provider, lower the TTL a few days before, change all the MX records at the same time and check that SPF, DKIM and MTA-STS are updated for the new service.