How to use MX Record Lookup
The MX Lookup tool retrieves the mail exchange (MX) records for a domain, revealing which servers are responsible for receiving its email and in what priority order. MX records are the backbone of email delivery: when someone sends a message to you@example.com, their server looks up example.com’s MX records to decide where to deliver it. Use this tool to confirm a newly configured mail provider is correctly published, to diagnose why mail is bouncing, or to see which email service a domain uses before sending to it.
- Enter the domain whose mail configuration you want to inspect.
- Click Lookup to fetch the live MX records from DNS.
- Review each mail server and its priority value.
- Note the lowest-priority host — that is the preferred receiver.
- Cross-check against your mail provider’s recommended records.
How MX priority works
Each MX record has a priority number, and lower numbers are preferred. A sending server tries the lowest-priority host first and falls back to higher numbers only if that host is unreachable, which is how providers build in redundancy. A common configuration lists a primary at priority 10 and a backup at 20. If two records share the same priority, sending servers choose between them at random to spread load. Getting these numbers wrong can route mail to a backup server that is not fully configured, causing delays or bounces.
| Priority | Mail server | Role |
|---|---|---|
| 10 | mail1.example.com | Primary receiver |
| 20 | mail2.example.com | Backup receiver |
MX records and email deliverability
Valid MX records are necessary but not sufficient for reliable email. Receiving servers increasingly check that the domain also publishes SPF, DKIM and DMARC records to prove that mail claiming to be from it is legitimate. If your MX is correct but mail still lands in spam, the next step is to verify those authentication records. Conversely, if mail bounces immediately with a "no route to host" style error, the MX records themselves are usually missing or pointing at a server that no longer accepts mail.
Glossary
- MX record
- A DNS record naming a mail server responsible for receiving a domain’s email.
- Priority
- A number on each MX record; lower values are preferred by sending servers.
- SMTP
- Simple Mail Transfer Protocol — the standard for transferring email between servers.
- Bounce
- A delivery failure notice returned when mail cannot be delivered.
- Fallback
- Using a higher-priority-number backup server when the preferred one is unreachable.
Related reading
Frequently Asked Questions
Why use MX Record Lookup?
- Verify a domain's mail servers and their priority order in real time
- Confirm a newly configured mail provider is correctly published in DNS
- Identify which email service a domain relies on before reaching out to it
- Diagnose why outbound mail to a domain is bouncing by inspecting its MX setup
Common use cases
- Diagnose why emails to a domain are bouncing by checking its MX configuration
- Confirm Google Workspace MX records are published after migrating from a legacy provider
- Check backup mail server priority values before decommissioning a secondary server
- Identify the email platform a prospect uses before a sales outreach campaign
- Verify MX record propagation is complete after switching email providers
Get weekly tool tips & updates
New tools, power-user tips, and productivity hacks — delivered free every Friday.
No spam, ever. Unsubscribe with one click.
Related Network & DNS
DNS Lookup Tool
Look up DNS records for any domain — A, AAAA, MX, NS, TXT, CNAME, SOA, and CAA records. Free, instant results pulled from authoritative nameservers.
SPF Record Checker
Check the SPF (Sender Policy Framework) record for any domain. Validate your email authentication setup and spot misconfigurations instantly.
DMARC Record Checker
Check the DMARC policy for any domain. Validate p=reject, p=quarantine, or p=none and review your alignment and reporting settings instantly.
DKIM Record Lookup
Look up DKIM (DomainKeys Identified Mail) DNS records for any domain and selector. Verify your DKIM email authentication setup.
MX / SMTP Test
Test a domain's email delivery capability. Check MX records, resolve mail server hostnames, and verify SMTP port 25 accessibility.
Temp Mail — Disposable Email Address
Get a free disposable email address that receives mail instantly in your browser. Protect your real inbox from spam — messages auto-delete after 24 hours.
Explore all Network & DNS.