MX lookup: where your mail goes
See your domain's MX records and the mail provider behind them, then whether SPF, DKIM and DMARC are set up for that provider.
Mail goes to Google Workspace
Three MX records, tried lowest number first
- 1aspmx.l.google.com
- 5alt1.aspmx.l.google.com
- 5alt2.aspmx.l.google.com
- SPF Matches
- DKIM Matches
- DMARC Worth fixing
The fix
DMARC is at p=none. Once your reports show only your own senders passing, move it to quarantine.
What an MX record is
An MX record tells other mail servers where to deliver email for your domain. Your domain can have several, each with a priority number.
- Lowest number first
- A sender tries the record with the lowest priority number. It moves to the next one only if that server does not answer.
- Equal numbers share the load
- Records with the same number are tried in no set order, so mail spreads across them.
- Null MX means no mail
- One record of
0 .says the domain accepts no email, on purpose. It suits a domain that only sends or is parked.
MX records for a domain on Google Workspace
example.com. MX 1 aspmx.l.google.com. example.com. MX 5 alt1.aspmx.l.google.com. example.com. MX 5 alt2.aspmx.l.google.com.
Mail tries aspmx.l.google.com first. The two with priority 5 are backups that share the load if it does not answer. The host name is what we match to a provider.
Reading the result
The provider we name comes from the MX hosts, and what it means depends on the kind of host.
- Mailbox provider
- The service that holds your inboxes and sends for you. We check SPF, DKIM and DMARC against what it needs. We know Google Workspace, Microsoft 365, Zoho Mail, Fastmail, Proton Mail, iCloud Mail, Namecheap Private Email, GoDaddy email, Rackspace Email.
- Gateway
- Mimecast, Proofpoint, Cloudflare Email Security, Barracuda. These filter mail before they pass it on, so the MX records name the filter, not the mailbox provider. We say so and run the general checks.
- Forwarding service
- Cloudflare Email Routing, ImprovMX. They pass the mail you receive to another inbox. They do not send as you, so they sign nothing for your domain.
An unknown host is shown by name, with the general checks. Backup hosts that belong to another provider are listed next to the main one.
Why the three must match your provider
- SPF
- Lists who may send for your domain. Each provider has its own
include:, and a new mail host is not covered until you add it. - DKIM
- Signs each message with a key at
selector._domainkey. The selector is the provider's, so a different host means a different key to publish.
What each provider we recognise needs
| Provider | SPF include | DKIM selector |
|---|---|---|
| Google Workspace | _spf.google.com | |
| Microsoft 365 | spf.protection.outlook.com | selector1, selector2 |
| Zoho Mail | zohomail.com | your choice |
| Fastmail | spf.messagingengine.com | fm1, fm2, fm3 |
| Proton Mail | _spf.protonmail.ch | protonmail |
| iCloud Mail | icloud.com | sig1 |
| Namecheap Private Email | spf.privateemail.com | default |
| GoDaddy email | secureserver.net | your choice |
| Rackspace Email | emailsrvr.com | your choice |
| Cloudflare Email Routing | _spf.mx.cloudflare.net | none |
| ImprovMX | spf.improvmx.com | none |
Forwarding services sign nothing for you. Where it says your choice, the provider gives you the name when you turn DKIM on.
Questions
What is an MX record?
An MX (mail exchanger) record is the DNS record that tells other mail servers where to deliver email for your domain. Each one names a mail server and a priority number. Senders try the lowest number first and fall back to the next if it does not answer.
What does MX priority mean?
The lowest number is tried first. A sender moves to the next number only when that server does not answer, and records with the same number share the load. A single record of 0 with a dot as the host (0 .) is a null MX: the domain says it accepts no mail.
How do I find my mail provider?
Look your domain up above. We match the MX hosts against the providers we know, such as Google Workspace or Microsoft 365, and name the one you use. If the records point at a filtering service like Mimecast, they name the filter and not the mailbox provider. Then check where your team signs in to read mail.
Can I have two mail providers?
For sending, yes: your mailboxes and a newsletter service can each send as your domain, as long as SPF lists them and each signs with DKIM. For receiving, keep one provider on the main MX records. Mail split across two providers lands in two sets of mailboxes. Extra MX records with a higher number are backups, not a second provider.
Why does SPF fail after I change mail host?
Your SPF record still lists the old provider, and the new host's servers are not in it. Add the new provider's include, remove the old one if nothing sends through it any more, and publish the new provider's DKIM key. The result below shows both, with the record to paste.
Is this like MXToolbox?
It reads the same public MX records, then goes further. We name the mail provider from them, check SPF, DKIM and DMARC against what that provider needs, and give you the record to paste for each one that needs a fix.
Do you change my DNS?
No. We only read public DNS records. Every record we suggest is advice: you publish it yourself at your DNS host, and you decide what goes live.
Used to MXToolbox's lookups? See the MXToolbox alternative. For the whole grade, run the DMARC checker.