What an MX record does
MX (mail exchanger) records tell the internet which servers accept email for a domain. Each record has a priority: lower numbers are tried first, and higher numbers are backups.
How to read the results
- Priority: the order senders try the servers.
- Target: the mail server hostname.
- TTL: how long the answer may be cached, in seconds.
If a domain has no MX record, mail servers fall back to its A record, but most domains that receive email publish MX records explicitly.
Recognizing common providers
Records ending in google.com mean Google Workspace or Gmail, mail.protection.outlook.com means Microsoft 365, and mx.cloudflare.net means Cloudflare Email Routing.
Worked example
Look up gmail.com and you will see several MX records with different priorities, all pointing to hosts under google.com. A sender tries the lowest number first and moves to the next one if it cannot connect. If your own domain shows no MX records, mail sent to it will fail with errors such as 5.1.2.
Common mistakes
- Pointing MX at an IP address instead of a host name. MX must name a host, which then has A or AAAA records.
- Pointing MX at a CNAME. The standard does not allow it, and some senders will refuse to deliver.
- Forgetting old MX records after moving to a new provider, which sends part of your mail to the old one.
Where the results come from
Every lookup is made live at the moment you press the button, using DNS over HTTPS through Cloudflare's public resolver (1.1.1.1). Results are not cached on our side for longer than a few minutes, so a change you just made may still be hidden by the record's TTL elsewhere on the internet. The TTL shown with each record is the number of seconds other resolvers are allowed to keep the old value.
If you just changed a record and do not see it here yet, wait at least the old TTL and check again. Most changes are visible everywhere within an hour.
Privacy
Nothing you type into this tool is stored. Lookups are sent to DNS and the result is shown to you, then forgotten. There is no account and no history.
Who uses the mx lookup
IT admins confirming a migration, support teams checking why mail to a customer bounces, and anyone curious which provider a company uses.
How to use the mx lookup, step by step
- Type a domain name only, such as example.com, without https:// or an address.
- Press Enter. The lookup runs live against DNS.
- Read the records from the lowest priority number upward.
- Check the Provider column to see which email service the domain uses.
Reading the results
| If you see | It means |
|---|---|
| No records found | The domain cannot receive email, or the name is misspelled |
| One record | Works, but there is no backup path |
| Several records with different priorities | Normal: a main server and backups |
| Records on google.com or outlook.com | The domain uses Google Workspace or Microsoft 365 |
Terms used on this page
- TTL
- Time to live, the number of seconds a DNS answer may be cached before it must be fetched again.
- MX record
- A DNS record that tells sending servers which mail servers accept email for a domain.
- A record
- A DNS record that points a hostname to an IPv4 address.
- DNS
- The Domain Name System, which translates domain names into the information computers need, like IP addresses and mail servers.
Related guides
Related free tools
- MX Lookup: See which servers receive email for any domain, live from DNS.
- SPF Checker: Validate SPF, spot multiple records and estimate DNS lookups.
- DMARC Checker: See any domain's DMARC policy and what it means.
- DKIM Checker: Fetch a DKIM public key by domain and selector.
FAQ
Why does a domain have several MX records?
For redundancy. If the first server is down, senders try the next one.
How fast do MX changes take effect?
It depends on the TTL of the old record. Most changes are visible worldwide within a few hours.
Why does a domain have several MX records?
For redundancy. If the first server is unreachable, senders try the next one.
Can I check an email address with an MX lookup?
It confirms the domain accepts email, not that a particular mailbox exists.