What this MX lookup shows
MX (mail exchanger) records tell the rest of the internet where to deliver email for a domain. Each MX record names a mail server and a priority number. The tool above runs a DNS MX lookup through public DNS and shows, for every MX record:
- Priority: the order senders try the servers in, lowest first.
- Mail server: the host name that receives the mail.
- IP address: where that host name points, so you can see it actually resolves.
- Provider: who runs the server, such as Google Workspace, Microsoft 365, Zoho, Proofpoint or Mimecast.
- TTL: how long resolvers cache the record, so how long a change takes to reach everyone.
The MX record check then flags the problems that stop mail arriving: no MX records, a null MX, an MX record pointing at an IP address or a CNAME, a mail server that does not resolve, and records split between two providers. It also checks that your SPF record matches the provider your MX records point to.
How to check MX records
- Type a domain (
yourcompany.com) or an email address (name@yourcompany.com) into the MX lookup tool above. - Press Look up MX. The MX record lookup takes a second.
- Read the summary: which provider receives mail for the domain, and how many MX records it has.
- Read the checks below the table. Anything red stops mail arriving; fix it at your DNS host.
- Share the result: the page address now ends in
?domain=yourcompany.com.
To check MX records from a terminal instead, use any of these commands. They show the same records as the MX checker, without the provider names or checks:
| System | Command |
|---|---|
| Windows, macOS, Linux | nslookup -type=mx yourcompany.com |
| macOS, Linux | dig mx yourcompany.com +short |
| macOS, Linux | host -t mx yourcompany.com |
MX record priority explained
MX record priority (also called preference) is the number in front of each mail server. Senders try the lowest number first and move to the next only if that server does not answer. Two MX records with the same number share the load. The numbers themselves mean nothing beyond their order, so 0, 1, 5 and 10 are all common.
Most cold email domains need a single MX record: Microsoft 365 publishes one record at priority 0, and Google Workspace one record, smtp.google.com, at priority 1. Older Google setups use five MX records at priorities 1, 5, 5, 10 and 10, which still work.
Google, Gmail and Microsoft 365 MX records
| Provider | MX record(s) | Priority |
|---|---|---|
| Google Workspace (current) | smtp.google.com | 1 |
| Google Workspace (older setups) | aspmx.l.google.com, alt1 and alt2.aspmx.l.google.com, alt3 and alt4.aspmx.l.google.com | 1, 5, 5, 10, 10 |
| Gmail (personal gmail.com) | gmail-smtp-in.l.google.com and four alternates | 5 to 40 |
| Microsoft 365 | yourcompany-com.mail.protection.outlook.com | 0 |
The Gmail MX records belong to Google’s consumer mail; you cannot point your own domain at them. For your own domain, add the Google Workspace or Microsoft 365 MX record at your DNS host (Cloudflare, GoDaddy, Namecheap, Porkbun or wherever the domain’s DNS lives), delete any old MX records, then check again with the MX record checker above. The full DNS setup for each provider is on Google Workspace inboxes and Microsoft 365 inboxes, and the glossary explains MX records in plain English.
MX record rules that trip people up
- Name a host, never an IP. An MX record must point to a host name, such as
mail.example.com, not to203.0.113.10. - No CNAMEs. That host name needs its own A or AAAA record. Pointing an MX record at a CNAME alias breaks the DNS rules (RFC 2181), and some senders refuse it.
- One provider. Delete the old provider’s MX records when you move, or some mail keeps going to the old mailbox.
- Null MX means no mail. A single
0 .record (RFC 7505) says the domain accepts no email at all. Never use it on a domain you send from.
Why MX records matter for cold email
Every reply to a cold email goes to the MX records of the domain you sent from. If a sending domain has no MX records, replies bounce and you lose the one thing the campaign was for. Receiving servers notice too: a domain that sends mail but cannot receive any looks like a throwaway, and some spam filters score it that way. Run an MX record check on every sending domain before its first campaign.
Bulk MX lookup: sort a prospect list by provider
Checking your prospects’ domains is just as useful. Switch the tool to Bulk MX lookup, paste up to 500 domains or email addresses, and it sorts them by mail provider, with a count for each and a CSV to download. Many cold email teams then send to Google recipients from Google Workspace inboxes and to Microsoft recipients from Microsoft 365 inboxes. Size each pool with the cold email calculator.
Common MX problems and fixes
| What the MX lookup shows | What it means | Fix |
|---|---|---|
| No MX records | Mail to the domain has nowhere to go. | Add your provider’s MX record from the table above. |
Null MX (0 .) | The domain says it accepts no mail, so replies bounce. | Replace it with your provider’s MX records. |
| MX points to an IP address | Not allowed; many senders will not deliver. | Point the MX record at the provider’s host name. |
| MX points to a CNAME | Breaks the DNS rules; some senders refuse it. | Use the real host name the CNAME points to. |
| Mail server has no IP address | A typo in the host name, or a retired server. | Correct the host name or delete the record. |
| Two providers | Old records left behind after a move. | Delete the old provider’s MX records. |
| SPF does not match the MX provider | Mail is hosted by one provider but SPF authorises another. | Fix SPF with the SPF checker. |
MX records receive mail; SPF, DKIM and DMARC prove the mail you send is yours. Check those with the SPF checker, the DKIM checker and the DMARC checker. Or let PureMail set up all four on every domain and connect your Google Workspace or Microsoft 365 inboxes to your sequencer, in about four hours.