Free tool
Check MX records
Enter a domain to see where its email goes: each MX record's mail server, its priority, and the provider behind it. Free, no signup required.
Results for
gmail.com
Looks good
Mail is handled by Google Workspace
Mail for gmail.com is routed through Google Workspace.
OK
| Priority | Mail server |
|---|---|
| 5 | gmail-smtp-in. |
| 10 | alt1. |
| 20 | alt2. |
| 30 | alt3. |
| 40 | alt4. |
What MX records do
MX (mail exchange) records tell the world which servers accept email for your domain. When someone sends to you@yourdomain.com, their mail server looks up your MX records and delivers to the exchange with the lowest priority number, falling back to higher numbers if it is unreachable.
No MX records is not the same as a null MX. Without MX records, senders may try the domain's A or AAAA address as an implicit mail exchange. That only works if a mail server there accepts email for the domain. Publish your mail provider's explicit MX records for a receiving domain.
Reading the results
The priority number orders delivery attempts, lowest first. Priority 10 is preferred over 20. Higher numbers are fallback servers, not faster servers. Senders may choose between servers with equal priority. The hostname can identify a provider, but an unknown provider does not make a record invalid.
Compare each mail server hostname and priority with your provider's setup instructions. Records pointing at different providers may be leftovers from a migration. Keep only the records your intended receiving setup requires. This DNS check does not test whether a mailbox exists or whether an SMTP server accepts mail.
A null MX record, priority 0 with the exchange '.', explicitly declares that the domain does not accept email. It must be the only MX record. This is valid for a domain that never receives mail, but not for a domain where you expect an inbox. A DNS lookup failure is a separate temporary error, not proof that MX records are missing.
Just changed your MX records? Your own resolver may still show the old ones. The DNS propagation checker asks several public resolvers at once, so you can see which of them already have the change.
What is an MX lookup?
An MX lookup asks DNS which mail servers accept email for a domain. Each answer is a hostname with a priority number, and senders try the lowest number first. It tells you who receives the domain's email, without sending a message.
Which email providers does this MX lookup recognize?
It names the provider when the MX hostname belongs to Google Workspace, Microsoft 365, Shipmail, Zoho Mail, Proton Mail, Fastmail, iCloud Mail, IONOS, OVHcloud, Namecheap Private Email, Infomaniak, Gandi, mailbox.org, Yandex 360, Rackspace Email, Hostinger Email, Amazon WorkMail or SES, Migadu, Cloudflare Email Routing, ImprovMX, GoDaddy Professional Email, Mimecast, Proofpoint Essentials, Cisco Secure Email and Barracuda Email Gateway Defense. Any other hostname is shown as it is, and an unknown provider does not make a record wrong.
How do I check MX records from the command line?
On macOS or Linux, run `dig MX example.com +short`. On Windows, run `nslookup -type=mx example.com`. Both show each mail server with its priority. Your computer may answer from a cached copy until the record's TTL runs out.
How long do MX record changes take to apply?
As long as the record's TTL, typically between five minutes and 24 hours. Senders that cached your old records keep using them until the TTL expires, so keep the old mailbox reachable during a migration.
Can a domain receive email without MX records?
Senders may fall back to the domain's A or AAAA address when no MX records exist. Receiving still requires a working mail server at that address. A null MX instead explicitly tells senders not to deliver. Follow your receiving provider's instructions and publish its MX records.
Do MX records affect sending email?
Not directly, they only control receiving. Sending reputation is governed by SPF, DKIM, and DMARC. Some receivers do check that a sending domain can also receive mail, so missing MX records can still hurt you.
What priority numbers should I use?
The numbers only matter relative to each other. Follow your provider's documentation exactly; with a single provider like Shipmail one record with priority 10 is enough.
Email, newsletters and booking pages on your own domain, in one plan.
Get started for free