# MX Lookup

> MX lookup for a domain’s mail servers, with priorities, IP addresses and the provider behind them. Flags missing, broken and null MX records. Free.

- URL: https://www.emailutils.dev/tools/mx-lookup/
- Published: 2026-11-26
- Updated: 2026-11-27

---

See which mail servers receive email for a domain, in priority order. The domain you enter is sent to our server (a Cloudflare Worker), which looks up its MX records and the addresses of its mail servers through Cloudflare’s DNS-over-HTTPS resolver (cloudflare-dns.com). We don’t save the domain or the results to a database; we only count how many checks run each day, to cap the total. Your IP address is held in memory for about a minute to limit how many checks one visitor can run. To keep bots out, the page runs Cloudflare Turnstile, Cloudflare’s bot check: it usually works invisibly, sometimes asks you to tick a box, and sends Cloudflare details about your browser and your IP address. After one check passes, your browser keeps a pass for about 10 minutes (in session storage) so you aren’t asked again. Cloudflare, our host, keeps short-lived request logs, which include the request address and so the domain. Free on emailutils.dev, no account needed.

## How to use MX Lookup

1. Type a domain, or paste an email address: everything before the @ is dropped.
2. Click **Look up MX**. The table lists each mail server by priority (lowest number first) with the IP addresses it resolves to.
3. Read the summary line for the provider (Google Workspace, Microsoft 365, Zoho, Proton and others are recognised) and any problems below the table.
4. Use **Copy records** to paste the list into a ticket, or **Copy link** to send someone a link that runs the same lookup.

## Features

- Sorts MX records by priority and resolves each mail server to its IPv4 (or IPv6) addresses.
- Recognises the provider from the MX hostnames, including Google Workspace, Microsoft 365, Zoho, Fastmail, Proton, iCloud, Mimecast and Proofpoint.
- Flags MX hosts that don’t resolve, MX records that point at an IP address or a CNAME, and domains with no MX at all.
- Recognises a null MX (`0 .`), the standard way to say a domain never receives email, and suggests one for domains that don’t.
- Links straight to the full SPF, DKIM and DMARC check for the same domain.

## About MX Lookup

An **MX (mail exchanger) record** tells the rest of the internet which servers accept email for a domain. Each record has a priority and a hostname: `1 smtp.google.com` or `0 contoso-com.mail.protection.outlook.com`. A sending server looks up the MX records, tries the lowest priority number first, and falls back to higher numbers if that server doesn’t answer. Records with the same priority share the load. Hosted providers often publish a single MX, because one name already stands for many servers behind it.

Most MX problems come from moving providers. Old records left beside new ones split incoming mail between two systems; a typo in the hostname, or an MX pointing at a name with no address, makes mail bounce or queue for days. MX records must point at a hostname, never an IP address, and that hostname shouldn’t be a CNAME. If a domain has no MX at all, senders fall back to its A record (the website), which almost never accepts mail. For domains that never receive email, RFC 7505’s **null MX** (`0 .`) says so explicitly, so senders give up immediately instead of retrying.

MX only covers *receiving*. Whether mail *from* the domain is trusted depends on SPF, DKIM and DMARC, which the [DMARC checker](/tools/dmarc-checker/) grades. For other record types (A, AAAA, TXT, CNAME, NS), use a general DNS lookup. Results are live from Cloudflare’s public resolver, so a change you just made may take until the old record’s TTL expires to appear.

## Specs

- Runs: on our server
- Built on: DNS-over-HTTPS (Cloudflare’s 1.1.1.1 resolver), queried from our Cloudflare Worker
- Cost: free, no account needed
- Shows: Priority, host, IP addresses, provider, problems
- DNS source: Cloudflare DNS-over-HTTPS, live
- Limits: 20 lookups a minute per visitor, a daily cap overall, Cloudflare Turnstile bot check
- Category: [Domain and DNS checks](https://www.emailutils.dev/categories/domain-checks/)

## Questions

### How do I find the MX records for a domain?

Enter the domain above and click Look up MX. You can also run `nslookup -type=mx example.com` on Windows or `dig mx example.com` on macOS and Linux; this tool adds the IP addresses, the provider and checks for common mistakes.

### What does MX priority mean?

It’s the order senders try servers in: lower numbers first. If the lowest-numbered server is down, senders try the next. Servers with equal priority are picked at random to spread the load. The actual numbers don’t matter, only their order.

### What happens if a domain has no MX record?

Senders fall back to the domain’s A record and try to deliver to that IP, which is usually a web server that refuses mail, so messages bounce. If the domain shouldn’t receive email, publish a null MX (priority 0, host “.”) so senders stop immediately.

### How long do MX record changes take?

Usually minutes, but resolvers can keep the old record until its TTL runs out, often one hour and sometimes up to a day. Lower the TTL a day before you switch providers, and keep the old mailbox running until mail stops arriving there.

### Can an MX record point to an IP address?

No. An MX must name a host, and that host needs its own A or AAAA record. Pointing an MX at an IP address or at a CNAME breaks delivery from strict senders.
