What an MX record looks like
example.com. 3600 IN MX 10 mail1.example.com.
example.com. 3600 IN MX 20 mail2.example.com.
The number is the priority (lower is tried first) and the name is the mail server. That name needs its own A or AAAA record.
What we check
- Each host resolves. An MX host without an address means mail to it bounces or queues.
- No IP addresses.
MX 10 192.0.2.25is invalid: MX records must name a host. - No CNAME targets. They break some senders.
- Null MX.
MX 0 .(RFC 7505) says the domain accepts no mail, which is right for domains that only send or only host a website.
Common setups
- Google Workspace: one record,
1 smtp.google.com(older setups list fiveaspmxhosts, which still work). - Microsoft 365: one record,
0 <your-domain>.mail.protection.outlook.com.
MX only covers receiving. For sending, check SPF, DKIM and DMARC, or run the full email security check.
Questions
What do MX priorities mean?
Lower numbers are tried first. Senders try the lowest-numbered host, and fall back to higher numbers if it does not answer. Hosts with the same number share the load.
My domain has no MX record. Can it still receive mail?
Sometimes. Senders fall back to the domain's A record (implicit MX), which rarely points at a mail server. If the domain should receive mail, add MX records; if it should not, publish a null MX record: 0 .
Can an MX record point to a CNAME?
RFC 5321 says MX targets must be hostnames with their own A or AAAA records, not aliases. Most senders cope with a CNAME, but some reject it, so point the MX at the canonical name.