โ— 100% free ยท no sign-up

Inboxlogy Free Tools

MX Lookup

Find out which mail servers handle email for any domain โ€” in priority order, with the provider auto-detected.

Shows the mail servers (MX records) that receive email for this domain, in priority order.

How it works

  1. Enter the domain

    Type the root domain you want to check, like example.com. Skip the www and skip any mailbox name. MX records live on the domain itself, so an address like [email protected] resolves against example.com.

  2. We query live DNS

    The lookup hits public resolvers directly instead of a cached copy, pulls every MX record in the zone, then resolves each mail host to its A and AAAA addresses so you can see where mail actually lands.

  3. Read priority and provider

    Results are sorted by preference value, lowest first, because that is the host receivers try first. The provider is matched from the hostname pattern, so you can confirm whether a domain runs on Google Workspace or Microsoft 365.

What does MX priority actually mean?

An MX record has two parts: a preference number and a mail host. The number is a 16-bit integer from 0 to 65535, and lower wins. A sending server collects every MX record for the domain, sorts them ascending, and tries the lowest number first. If that host refuses the connection or times out, it falls back to the next one up. Priority is a failover order, not a quality score.

Equal numbers mean something different. Two hosts at the same preference get load-balanced, usually round robin, so mail spreads across both. Google Workspace now publishes a single record, smtp.google.com at priority 1, replacing the old five-record ASPMX set. Microsoft 365 publishes one host, yourdomain.mail.protection.outlook.com, at priority 0. One more case is worth knowing: a single MX whose target is just a dot, at priority 0, is a null MX under RFC 7505, which tells senders the domain accepts no mail at all.

Common mistakes

Pointing an MX at a CNAME

MX records must point to a hostname that has A or AAAA records. If the target is a CNAME, strict receivers reject it per RFC 2181 and some resolvers fail the lookup outright. Point the MX at the real host instead.

Leaving old provider records behind

After a migration the previous provider's MX records often stay in the zone at a higher number. Mail still fails over to a mailbox nobody reads, so replies and bounces vanish. Delete every record you no longer control.

Using an IP instead of a hostname

An MX record's value has to be a domain name. A bare IP address there is invalid, and most senders treat the domain as having no working MX, so inbound mail bounces with a permanent error instead of being retried.

Assuming MX affects your sending

MX records control inbound mail only. They have nothing to do with whether your outbound campaign authenticates; that is SPF, DKIM, DMARC and IP reputation. Receivers do still check that a sending domain can accept mail, so never leave MX empty.

Frequently asked questions

How many MX records should a domain have?

At least one, and more only if your provider publishes them. Google Workspace needs a single record pointing to smtp.google.com. Microsoft 365 needs a single record pointing to your tenant host under mail.protection.outlook.com. Extra records left over from an old provider or a spam filter you no longer pay for create silent failover paths into mailboxes nobody monitors, so remove them.

Does a lower MX priority number mean better?

Lower means tried first, not better. Sending servers sort MX records ascending by preference and attempt the lowest value available. A record at 10 is only used when the record at 1 is unreachable. The numbers themselves are arbitrary: 1, 5, 10 behaves exactly the same as 10, 20, 30 as long as the relative order matches.

Why does my MX lookup show no records?

Usually one of three things: the zone has not been published yet, you queried a subdomain that has no record of its own, or the domain is intentionally mail-free. MX records do not inherit downward, so mail.example.com needs its own entry. If a resolver cached an earlier empty answer, negative caching can hold it for the zone's SOA minimum TTL.

Do I need MX records to send cold email?

Technically no, but publish them anyway. SMTP sending works without an MX record on your domain. Plenty of receivers reject mail from domains that cannot receive mail, because real senders accept bounces and replies. Any domain in your From address should have a valid MX and a monitored mailbox behind it, or you will lose replies you paid for.

What does a null MX record do?

It declares that a domain never receives mail. The syntax is one MX record with preference 0 and a target of a single dot, defined in RFC 7505. Senders that honor it bounce immediately instead of retrying for days. Use it on domains you only use for websites or link tracking, never on a domain that sends mail you want answers to.