What an MX record is
An MX (mail exchanger) record tells the rest of the internet which servers accept email for a domain. When someone emails you@yourbusiness.com.au, their mail server looks up the MX records for yourbusiness.com.au and connects to one of the hosts listed there.
Each MX record has two parts: a preference number and a hostname. The hostname must be a domain name that resolves to an IP address, and the preference sets the order. Lower values are preferred (RFC 1035, section 3.3.9), so a sender tries priority 10 before priority 20 and only moves on if it can't deliver. When several records share the same number, the sender is required to pick between them at random to spread the load (RFC 5321, section 5.1). The numbers are only compared with each other, so 10 and 20 work exactly like 1 and 2.
How to read the results
- Priority. Rows are sorted lowest first, which is the order senders use. The top row normally takes all your mail.
- Hostname. The mail server the record points at, exactly as published.
- IP addresses. The A (IPv4) and AAAA (IPv6) records for that hostname. A mail host needs at least one, or senders can't reach it.
- Provider. Shown only when the hostname matches a pattern from the provider's own setup guide. We currently recognise Microsoft 365, Google Workspace and Zoho Mail. A blank here isn't an error.
- TTL. How long resolvers may cache the record before asking again (RFC 1035, section 3.2.1). It's how long a change can take to reach everyone.
- Problem, Warning and Note. A Problem can stop mail arriving. A Warning is worth fixing soon. A Note is information, not a fault.
Common MX problems and how to fix them
No MX records
If a domain has no MX record, sending servers fall back to the domain's own A or AAAA record and try to deliver there, as if it had an MX with priority 0 pointing at itself (RFC 5321, section 5.1). That address is often just a web server. If nothing there accepts mail, senders keep retrying, typically for about a week, before they give up and bounce the message (RFC 7505, section 1). Fix it by adding the MX records your mail provider gives you.
If the domain should never receive email (a parked domain, or one used only for a website), publish a Null MX instead: a single MX record with preference 0 and a hostname of a single dot, written0 .. It tells senders the domain accepts no mail, so they fail immediately instead of retrying (RFC 7505). A domain with a Null MX must not publish any other MX record, and RFC 7505 advises against it for any domain you send email from, because receivers may reject mail from a domain that can't accept replies.
An MX record that points at an IP address
The MX data field must contain a domain name, and that name must return at least one address record (RFC 5321, section 5.1). Publishing 10 203.0.113.25 breaks that rule. Create a hostname such as mail.yourbusiness.com.au with an A record for the address, then point the MX at the hostname.
An MX record that points at a CNAME
The hostname in an MX record must not be an alias (RFC 2181, section 10.3), and RFC 5321 treats a target that returns a CNAME as outside the standard. RFC 2181 also notes that an alias in this position doesn't work as well as people hope. Whether a given sender follows the alias depends on its mail software, so the record can work for some senders and fail for others. Point the MX straight at the hostname your provider documents.
A mail host that doesn't resolve
If an MX hostname has no A or AAAA record, senders can't connect to it. The usual causes are a typo, a server that has been retired, or a DNS panel that added your domain to the end of the name. In zone files, a name without a trailing dot is relative and gets the zone's origin appended (RFC 1035, section 5.1), somail.provider.com can quietly become mail.provider.com.yourbusiness.com.au. Check the hostname in the results matches what your provider gave you.
Records for more than one provider
After a move, the old provider's MX records are often left in place. Senders use the lowest number first and fall back to the rest, so some mail can end up in the old system. Microsoft's guidance is to remove MX records pointing at your old system once email is flowing to the new one (Microsoft Learn: External DNS records for Microsoft 365).
Only one MX record
That's normal for hosted email. Microsoft 365 gives you a single mail.protection.outlook.comhostname and Google Workspace's current value is the single host smtp.google.com(Google Workspace Admin Help). If the server is briefly unreachable, senders queue the message and retry, and the give-up time generally needs to be at least 4 to 5 days (RFC 5321, section 4.5.4.1). We show this as a Note, not a fault.
What to check after moving email providers
- The MX records match the new provider's values exactly, including the priority they ask for. Microsoft 365 shows yours under Domains in the admin centre, Google Workspace's current value is
smtp.google.com, and Zoho Mail lists yours in its Admin Console. - The old provider's MX records are gone. Run this lookup and look for a second provider name or an unfamiliar hostname.
- Every MX host resolves to at least one IP address, and none is an IP literal or a CNAME.
- Your SPF record now authorises the new provider and no longer lists the old one, and DKIM is switched on at the new provider. Check both with the SPF, DKIM & DMARC Checker.
- DMARC reports still show your mail passing once the new provider starts sending.
- A test message sent from an outside account (a personal webmail address, for example) arrives in the new mailbox.
- The old service stays active until the old MX record's TTL has run out, so mail sent by servers still holding the cached record isn't lost.
Related checks
- SPF, DKIM & DMARC Checker shows the exact authentication records you've published and what to fix.
- Email Security Checker scores your MX, SPF, DKIM, DMARC, MTA-STS and TLS-RPT setup in one go.
- DNS Lookup queries any record type, including the TXT, NS and SOA records this page doesn't show.
Sources
- RFC 1035: Domain Names, Implementation and Specification (MX preference, TTL, relative names)
- RFC 5321: Simple Mail Transfer Protocol (locating the target host, implicit MX, retry times)
- RFC 2181: Clarifications to the DNS Specification (MX targets must not be aliases)
- RFC 7505: A "Null MX" No Service Resource Record
- Microsoft Learn: External DNS records for Microsoft 365 and How SMTP DANE works (the mx.microsoft hostnames)
- Google Workspace Admin Help: Set up MX records
- Zoho Mail Help: Configure email delivery
