What the MX Record Lookup does
MX (Mail Exchange) records tell the internet where to deliver email for a domain. When someone sends a message to you@example.com, the sending server looks up example.com's MX records to find the correct destination mail servers.
Each MX record has a priority number. Lower numbers are preferred, so mail is attempted at the lowest-priority server first and falls back to higher numbers if that server is unavailable. This tool lists every MX record for a domain with its priority so you can confirm mail is routed where you expect.
How to read the results
- Priority — the preference value; the lowest number is tried first. Equal values are load-balanced.
- The hostname after the arrow is the mail server that accepts mail for the domain.
- Multiple records provide redundancy — if the primary is down, mail queues to the next.
Worked example
Input: gmail.com
Priority 5 → gmail-smtp-in.l.google.com Priority 10 → alt1.gmail-smtp-in.l.google.com Priority 20 → alt2.gmail-smtp-in.l.google.com
Google publishes several MX hosts at increasing priorities so that if the priority-5 server is busy or unreachable, senders automatically retry the next one.
Common use cases
- Confirm your domain's email is routed to the right provider (Google Workspace, Microsoft 365, etc.).
- Diagnose why inbound email is bouncing or not arriving.
- Verify MX changes after migrating email hosting.
- Check a domain's mail provider before setting up SPF, DKIM or DMARC.