MX Record Lookup
Look up the mail servers (MX records) that receive email for a domain, sorted by priority.
Share on Social Media:
The MX Record Lookup asks live DNS which mail servers accept email for a domain. Type a domain such as example.com, press Get MX Records, and you'll see every MX record with its priority, the mail server it points to and its TTL, sorted so the server that is tried first is at the top.
When to check MX records
MX ("mail exchange") records are the part of DNS that tells the rest of the internet where to deliver mail for your domain. You'll want to check them when:
- Moving to a new email provider. Google Workspace, Microsoft 365, Zoho and Fastmail all ask you to replace your MX records. A lookup confirms the change is live in public DNS, not just saved in your dashboard.
- Email has stopped arriving. A deleted or mistyped MX record is one of the most common reasons a domain suddenly receives nothing.
- Finding out who handles a company's email. MX targets usually reveal the provider:
*.mail.protection.outlook.comis Microsoft 365,smtp.google.comoraspmx.l.google.comis Google, and names such asmx1.mimecast.comor*.pphosted.compoint to a security gateway in front of the mailbox.
How to read the result
Priority (also called preference) is a number where lower means preferred. A sending server tries the lowest number first and only moves to higher numbers if that server doesn't answer. Two records with the same priority share the load. The actual values don't matter, only their order: 1/5/10 behaves exactly like 10/20/30.
The mail server column must be a hostname. An MX that points straight at an IP address, or at a name that is itself a CNAME, breaks the email standards, and some senders will refuse to deliver to it.
The TTL is how many seconds resolvers may cache the answer. If you've just changed providers and see the old servers, the previous TTL may not have run out yet.
If no MX record is found, there are three possibilities. The domain may not handle email at all. It may rely on the old fallback rule, where senders deliver to the domain's A record if no MX exists (rarely what anyone intends). Or it may publish a "null MX" (priority 0, server .), which deliberately says "this domain never receives mail".
Common mistakes after a provider switch
- Leaving the old records in place. If the old provider's MX records stay alongside the new ones, some mail will keep going to the old mailbox. Remove every record you were not told to add.
- Typing the full domain in the host field. Most dashboards want
@or a blank host for the root domain. Enteringexample.comcan create a record forexample.com.example.com. - Forgetting SPF. New MX records control where mail arrives. Whether mail you send is trusted depends on SPF, DKIM and DMARC, so update your SPF record too (our SPF Record Checker shows what it currently allows).
A worked example
Look up gmail.com and you'll get five records: gmail-smtp-in.l.google.com at priority 5, then alt1 to alt4 at 10, 20, 30 and 40. Senders try the primary first and fall back through the alternates in order. A small business on Google Workspace set up recently will usually show a single record: smtp.google.com at priority 1.
Results come from a live DNS query made by our server when you click the button. A leading "www." is ignored, and subdomains are looked up as typed. We don't store the domains you look up beyond normal server logs.