MX Lookup

Enter a domain to see the mail servers that receive its email, in the order senders try them. For each MX record you'll get the priority, the hostname, the IP addresses it resolves to and the mail provider where we can recognise it. We also flag missing records, records that point at an IP address or an alias, and leftovers from an old provider. Lookups run in your browser over encrypted DNS-over-HTTPS.


The part after the @ in your email address. Paste a URL and we'll extract the hostname.

What an MX record is

An MX (mail exchanger) record tells the rest of the internet which servers accept email for a domain. When someone emails you@yourbusiness.com.au, their mail server looks up the MX records for yourbusiness.com.au and connects to one of the hosts listed there.

Each MX record has two parts: a preference number and a hostname. The hostname must be a domain name that resolves to an IP address, and the preference sets the order. Lower values are preferred (RFC 1035, section 3.3.9), so a sender tries priority 10 before priority 20 and only moves on if it can't deliver. When several records share the same number, the sender is required to pick between them at random to spread the load (RFC 5321, section 5.1). The numbers are only compared with each other, so 10 and 20 work exactly like 1 and 2.

How to read the results

  • Priority. Rows are sorted lowest first, which is the order senders use. The top row normally takes all your mail.
  • Hostname. The mail server the record points at, exactly as published.
  • IP addresses. The A (IPv4) and AAAA (IPv6) records for that hostname. A mail host needs at least one, or senders can't reach it.
  • Provider. Shown only when the hostname matches a pattern from the provider's own setup guide. We currently recognise Microsoft 365, Google Workspace and Zoho Mail. A blank here isn't an error.
  • TTL. How long resolvers may cache the record before asking again (RFC 1035, section 3.2.1). It's how long a change can take to reach everyone.
  • Problem, Warning and Note. A Problem can stop mail arriving. A Warning is worth fixing soon. A Note is information, not a fault.

Common MX problems and how to fix them

No MX records

If a domain has no MX record, sending servers fall back to the domain's own A or AAAA record and try to deliver there, as if it had an MX with priority 0 pointing at itself (RFC 5321, section 5.1). That address is often just a web server. If nothing there accepts mail, senders keep retrying, typically for about a week, before they give up and bounce the message (RFC 7505, section 1). Fix it by adding the MX records your mail provider gives you.

If the domain should never receive email (a parked domain, or one used only for a website), publish a Null MX instead: a single MX record with preference 0 and a hostname of a single dot, written0 .. It tells senders the domain accepts no mail, so they fail immediately instead of retrying (RFC 7505). A domain with a Null MX must not publish any other MX record, and RFC 7505 advises against it for any domain you send email from, because receivers may reject mail from a domain that can't accept replies.

An MX record that points at an IP address

The MX data field must contain a domain name, and that name must return at least one address record (RFC 5321, section 5.1). Publishing 10 203.0.113.25 breaks that rule. Create a hostname such as mail.yourbusiness.com.au with an A record for the address, then point the MX at the hostname.

An MX record that points at a CNAME

The hostname in an MX record must not be an alias (RFC 2181, section 10.3), and RFC 5321 treats a target that returns a CNAME as outside the standard. RFC 2181 also notes that an alias in this position doesn't work as well as people hope. Whether a given sender follows the alias depends on its mail software, so the record can work for some senders and fail for others. Point the MX straight at the hostname your provider documents.

A mail host that doesn't resolve

If an MX hostname has no A or AAAA record, senders can't connect to it. The usual causes are a typo, a server that has been retired, or a DNS panel that added your domain to the end of the name. In zone files, a name without a trailing dot is relative and gets the zone's origin appended (RFC 1035, section 5.1), somail.provider.com can quietly become mail.provider.com.yourbusiness.com.au. Check the hostname in the results matches what your provider gave you.

Records for more than one provider

After a move, the old provider's MX records are often left in place. Senders use the lowest number first and fall back to the rest, so some mail can end up in the old system. Microsoft's guidance is to remove MX records pointing at your old system once email is flowing to the new one (Microsoft Learn: External DNS records for Microsoft 365).

Only one MX record

That's normal for hosted email. Microsoft 365 gives you a single mail.protection.outlook.comhostname and Google Workspace's current value is the single host smtp.google.com(Google Workspace Admin Help). If the server is briefly unreachable, senders queue the message and retry, and the give-up time generally needs to be at least 4 to 5 days (RFC 5321, section 4.5.4.1). We show this as a Note, not a fault.

What to check after moving email providers

  1. The MX records match the new provider's values exactly, including the priority they ask for. Microsoft 365 shows yours under Domains in the admin centre, Google Workspace's current value is smtp.google.com, and Zoho Mail lists yours in its Admin Console.
  2. The old provider's MX records are gone. Run this lookup and look for a second provider name or an unfamiliar hostname.
  3. Every MX host resolves to at least one IP address, and none is an IP literal or a CNAME.
  4. Your SPF record now authorises the new provider and no longer lists the old one, and DKIM is switched on at the new provider. Check both with the SPF, DKIM & DMARC Checker.
  5. DMARC reports still show your mail passing once the new provider starts sending.
  6. A test message sent from an outside account (a personal webmail address, for example) arrives in the new mailbox.
  7. The old service stays active until the old MX record's TTL has run out, so mail sent by servers still holding the cached record isn't lost.

Related checks

  • SPF, DKIM & DMARC Checker shows the exact authentication records you've published and what to fix.
  • Email Security Checker scores your MX, SPF, DKIM, DMARC, MTA-STS and TLS-RPT setup in one go.
  • DNS Lookup queries any record type, including the TXT, NS and SOA records this page doesn't show.

Sources


Use — Guide

How to use this tool

  1. Enter the domain that receives your email, such as yourbusiness.com.au. You can paste a URL and we'll take the hostname from it.
  2. Read the records from the top: the first row is the server senders try first.
  3. Check each host resolves to at least one IP address and, where we recognise it, that the provider is the one you expect.
  4. Work through anything marked Problem or Warning, then run the lookup again to confirm the fix is live.

FAQ — Questions

Frequently asked questions

01What does an MX lookup tell me?

It shows which mail servers accept email for a domain and the order senders try them in. If the records are missing, point at the wrong place or still list your old provider, email to you can bounce, get delayed or land in a mailbox nobody checks.

02Is a lower or higher MX priority used first?

Lower. A record with priority 10 is tried before one with priority 20. Records with the same priority share the load, because senders are required to pick between them at random. Only the order matters, so 10 and 20 behave exactly like 1 and 2.

03Do I need more than one MX record?

Not always. Microsoft 365 and Google Workspace each give you a single MX hostname, and Microsoft's own guidance is that one MX record pointing at one mail system removes many potential problems. If the server can't be reached, sending servers queue the message and retry, generally for at least four to five days. A backup MX is mostly something to consider if you run your own mail server.

04How long do MX changes take to work?

Resolvers can keep using the old record until its TTL runs out, so a record with a TTL of 3600 can take up to an hour to change everywhere. Lower the TTL a day before a planned change, make the change, then raise it again once mail is flowing.

05Is the domain I look up sent to Peritus Digital?

No. The lookups run in your browser against public DNS-over-HTTPS resolvers, so the domain you type never reaches our servers.

06Why does the provider column say nothing for my records?

We only name a provider when the hostname matches a pattern that provider publishes in its own setup guide, which currently covers Microsoft 365, Google Workspace and Zoho Mail. Anything else is left blank. A blank provider is not a problem in itself.

Mail going missing?

Want someone to sort out your MX, SPF and DMARC records?

Our team in Cardiff, Lake Macquarie works with businesses across Newcastle, the Central Coast and the wider Hunter. If this lookup turned up something you're not sure how to fix, or you're planning a move between email providers, get in touch.

Call 02 4081 9500Request a conversationChat