MX lookup
See which mail servers accept email for a domain and in what order they are tried. Use it when mail bounces or after you change email provider.
What MX records do
An MX record names a mail server for a domain and gives it a priority number. A sending server tries the lowest number first. If that server does not answer, it tries the next one. Equal numbers share the load.
The target of an MX record must be a host name with its own A or AAAA record, not an IP address and not a CNAME. Mail providers publish the exact values you should use.
How to read the result
- Priority: lower numbers are tried first. The tool sorts them for you.
- Mail server: the host that receives mail. Compare it with the value in your provider's setup guide.
- Several servers with different providers: often a leftover from a migration. Old servers may still accept mail and hide it from you.
- No records found: senders fall back to the A record of the domain, which is rarely what you want. Add MX records or a null MX if the domain sends no mail.
When mail does not arrive
- Check the MX records first, then that each target resolves with an A record lookup.
- Confirm that SPF, DKIM and DMARC are in place with the SPF checker, DKIM checker and DMARC checker.
- Look at the TTL. After a switch, senders may use cached records until it expires.
Watch this record in Uptimecat
- Open the dashboard and add a new monitor.
- Choose the DNS monitor type and enter the host name you just looked up.
- Set the record type to MX and keep the resolver server that suits you.
- Set the expected value to your provider's mail host so you hear about unplanned changes.
- Pick an alert channel such as email, Slack or Telegram and save. See DNS monitoring for the full list of options.
Frequently asked questions
What is a null MX?
A single MX record with priority 0 and a dot as target. It tells senders that the domain accepts no mail.
Do I need a backup MX?
Not usually. Sending servers retry for days when your main server is down, so a queue builds up and drains later.
Why does the order change between lookups?
It should not. Equal priorities may appear in any order, but different numbers are always sorted by value.
Run the check
Related
Open the dashboard
Sign in with your Google account to add a monitor and pick an alert channel. Access is currently limited to Moruk accounts; open sign-up is not available yet.