What an MX record does
An MX record (mail exchanger) tells other mail servers which host accepts email for a domain. Each record holds a priority number and a host name. RFC 5321, section 5.1, sets the order a sender follows: look up the MX records of the domain after the @, try the hosts from the lowest number up, and pick at random among hosts that share a number.
example.com. 3600 IN MX 10 mx1.example.net.
example.com. 3600 IN MX 20 mx2.example.net.What this lookup checks
| Check | Why it matters |
|---|---|
| The domain exists | A name that does not exist cannot receive mail at all |
Null MX (0 .) | The domain says it accepts no mail (RFC 7505); it must be the only MX record |
| No MX record | Senders fall back to the domain's own A or AAAA address, which works only if a mail server listens there |
| Each host has an address | A host with no A or AAAA record cannot be reached |
| Public addresses | A private, loopback, reserved or documentation address cannot be reached from the internet |
| Host names, not IP addresses | An MX record must name a host; many senders skip one that holds an IP address |
| No aliases | An MX host must not be a CNAME (RFC 2181, section 10.3) |
The lookup also names the mail service when the hosts belong to a well-known one, such as Google or Microsoft. It looks up the addresses of up to 10 mail servers.
Reading the result
- Priority. Lower numbers are tried first. Two records with the same number share the load.
- Mail server. The host that accepts mail for the domain. Hosted services often publish one name that stands for many machines, so a single record is normal for them.
- Addresses. What the host name resolves to. "No address" means the name has none, which senders cannot use. An empty cell means the host was not looked up: the record holds an IP address, or it is past the first 10 servers.
What it does not tell you
An MX lookup shows where mail for a domain should go. It does not show whether one mailbox at the domain exists, or whether the server accepts mail from you. To know whether an address can receive mail, check the whole address with our free email checker. A domain without email can follow our null MX guide.
Your privacy
Only the domain you enter is looked up, through a public DNS-over-HTTPS resolver. We do not store or log it.
Checking email addresses rather than domains? Try our free email checker or see pricing for lists and the API.