MX Lookup

Check a domain's mail exchange (MX) records, sorted by priority, with resolved server addresses and TTL.

What is an MX lookup?

An MX lookup reads a domain's mail exchange records, which tell other mail servers where to deliver email addressed to that domain. Without MX records, a message sent to name@example.com has no clear destination. This tool lists every MX record, sorted by priority, and resolves each mail server to its IPv4 and IPv6 addresses.

It is the quickest way to see which email provider a domain uses and whether its mail servers can actually be found.

How MX records work

Each MX record has two parts: a priority number and a mail server hostname. A sending server tries the record with the lowest number first. If that server cannot be reached, it moves on to the next number. Records with the same priority share the load between them.

An MX record must point to a hostname, not to an IP address. That hostname then needs its own A or AAAA record, which is why this tool resolves each mail server's addresses separately.

How to use the MX lookup tool

  1. Enter the domain part of the email address, for example example.com for info@example.com.
  2. Press Lookup MX.
  3. Read the mail servers in priority order, with their IPv4 address, IPv6 address and TTL.
  4. Check the diagnostics below the table for redundancy and resolution problems.

What the MX lookup results mean

Priority and mail server

The lowest priority number is the main server. Hostnames often show the provider: for example, Google Workspace and Microsoft 365 use their own recognisable server names.

IPv4, IPv6 and TTL

"Not resolved" in one address column is normal, since many mail servers have only IPv4. If both columns say "Not resolved", senders cannot find that server.

Diagnostics

The tool checks two things: whether more than one mail server is listed, which gives a fallback, and whether every mail server hostname resolves to at least one IP address. A single MX record is shown as a warning, not an error, because large providers often handle redundancy behind one name.

MX records for popular email providers

Your email provider tells you exactly which MX records to publish, and the hostnames make providers easy to recognise. For example, current Google Workspace setups use a single record pointing to smtp.google.com, while Microsoft 365 uses a hostname ending in mail.protection.outlook.com. A domain that should never receive email can publish a "null MX" instead: one MX record with priority 0 and a single dot as the server, as defined in RFC 7505, which tells senders not to try.

Common uses

  • Confirming MX records after moving email to a new provider.
  • Finding out who hosts email for a company or client.
  • Investigating why messages to a domain bounce or never arrive.
  • Spotting a leftover MX record from an old provider that still receives mail.

Common problems and fixes

No MX records. The domain cannot receive email at that address. If it should, add the MX records your email provider gives you at your DNS provider.

Mail server not resolved. The hostname has a typo or no A record. Copy the server name exactly from your email provider's instructions, including every dot.

Old and new providers both listed. Mixed records split delivery between two systems, so some mail goes missing. Remove the records for the provider you no longer use.

Mail arrives but goes to spam. MX records only control incoming mail. Sending reputation depends on SPF, DKIM and DMARC, which you can test with our email tools.

Related tools

Frequently asked questions

What does the MX priority number mean?

It sets the order in which sending servers try the mail servers. The lowest number is tried first, and higher numbers are used only if the first cannot be reached. The actual values do not matter, only their order, so priorities of 1 and 5 behave the same as 10 and 50.

Can a domain receive email without MX records?

Rarely. Mail standards let a sender fall back to the domain's A record if no MX record exists, but many senders and providers do not rely on that. If a domain should receive email, publish proper MX records from your email provider so delivery is reliable.

Why does my domain have only one MX record?

Many email services, including large hosted providers, give one MX hostname that is backed by many servers behind the scenes. That is why a single record is shown as a warning, not a failure. If your provider gives you several records, add all of them.

What does "Not resolved" mean next to a mail server?

It means the mail server hostname has no address of that type. One empty column is normal, because many mail servers use IPv4 only. If both IPv4 and IPv6 show "Not resolved", sending servers cannot find it, and mail directed there will fail until the hostname is corrected.

How long do MX changes take to work?

New MX records are often picked up within minutes, but resolvers may keep the old answer until the record's TTL expires, commonly one hour and sometimes up to a day. Keep the old mailbox active for a day or two after switching providers so no messages are lost.

Can an MX record point to an IP address?

No. An MX record must point to a hostname, such as mail.example.com, and that hostname needs its own A or AAAA record. Putting an IP address directly in an MX record breaks the standard, and many sending servers will not deliver to it.

Does the MX lookup show where email is sent from?

No. MX records only control incoming mail. The servers that send a domain's email are listed in its SPF record, and DKIM and DMARC prove the messages are genuine. Use our SPF Checker and DMARC Checker to review the sending side.