MX record lookup

Who gets your mail,
and what they need next.

An MX record lookup lists the mail servers a domain publishes for incoming email, each with a preference number that says which one senders try first. Type a domain and this one also names the provider when it recognises the hosts (Google Workspace, Microsoft 365, Zoho Mail, Proton Mail, Fastmail, Cloudflare Email Routing), flags what stops mail arriving, and checks whether the domain publishes the SPF include, DKIM selectors and DMARC record that provider’s own help pages say go with it.

It runs in your browser. The domain you check goes to public DNS, Google’s first and Cloudflare’s if Google’s does not answer, and never to us. The next steps are the SPF lookup counter, the DKIM checker and the DMARC checker, and the setup guide shows how the three fit together.

RFC 5321 · RFC 7505 6 providers named Checked 25 Nov 2026

By the Builderify team

MX record lookup Reads public DNS from your browser

Nothing is looked up in this mode. Write each record as 10 mx.example.com, or paste a zone file line such as example.com. 3600 IN MX 10 mx.example.com.

Example results · nothing has been looked up yet
Reads fine yourbrand.com

Mail goes to Google Workspace

Sample: Google Workspace’s current single record

MX records, lowest preference number first
Pref. Host Provider Address
1 smtp.google.com Google Workspace not looked up
MX records
1
Tried first
smtp.google.com
Provider
Google Workspace
  • i Google’s help page gives one record, smtp.google.com at preference 1, for its current setup, and says the five older aspmx.l.google.com records are still supported. It adds that if Gmail is working, you should not change your MX records.
  • i Planning to send newsletters with Builderify Broadcast? Its domain setup adds an MX record on the domain you send from, so use a subdomain such as news.yourbrand.com; the mailboxes on yourbrand.com are then untouched.
Records that go with it
  • i SPF Google’s help page says the SPF record includes include:_spf.google.com. SPF lookup counter: enter yourbrand.com
  • i DKIM Look for google._domainkey.yourbrand.com. Google’s default prefix selector is google, but its Admin console lets you enter another one, so read the real selector from a message header if this one is missing. DKIM checker: enter google._domainkey.yourbrand.com
  • i DMARC Once SPF and DKIM pass, publish a DMARC record at _dmarc.yourbrand.com. DMARC checker: enter yourbrand.com
Null MX noreply-brand.example

Null MX: this domain accepts no mail

Sample: a domain that accepts no mail (RFC 7505)

MX records, lowest preference number first
Pref. Host Provider Address
0 . (null MX) — no mail server
MX records
1
Tried first
none (null MX)
Provider
not recognised
  • i A single MX record with preference 0 and “.” as the host tells senders the domain accepts no mail (RFC 7505). Without it, senders fall back to the domain’s own address and, if nothing listens there, may retry for about a week before giving up. A mail system that refuses mail because of it should answer with code 556 and status 5.1.10.
  • i If you send email from this domain, RFC 7505 (section 4.2) says not to publish a null MX on it: receivers that check the return address may reject your mail. A domain that sends no mail can also publish an SPF record ending in -all.
Check yourbrand.com

Mail providers mixed: Microsoft 365 and Google Workspace

Sample: two providers left in one record set

MX records, lowest preference number first
Pref. Host Provider Address
0 yourbrand-com.mail.protection.outlook.com Microsoft 365 not looked up
1 smtp.google.com Google Workspace not looked up
MX records
2
Tried first
yourbrand-com.mail.protection.outlook.com
Provider
Microsoft 365 and Google Workspace
  • ! Microsoft 365 and Google Workspace all appear in the MX records. A sender tries the lowest preference number first and picks at random between hosts that share one (RFC 5321, section 5.1), so mail for your mailboxes can end up at a provider that does not hold them. Google, Microsoft, Zoho and Proton each tell you to remove other providers’ MX records when you switch; Microsoft also accepts giving the old provider a higher number, so it is tried last.

Answered by . DNS answers are cached, so a record you published a few minutes ago may not show yet.

An MX record says where mail for a domain arrives. It says nothing about who may send as that domain: the SPF, DKIM and DMARC lines above, and the checkers they link to, cover that.

01 / How senders use MX

How a sender picks
a mail server.

When someone emails an address at your domain, the sender’s server asks DNS for the domain’s MX records. RFC 5321 (section 5.1) says it looks for MX records first and falls back to the domain’s own A or AAAA address only when there are none.

An illustration, not a real domain
yourbrand.com.   MX   10   mx1.example.net.
yourbrand.com.   MX   10   mx2.example.net.
yourbrand.com.   MX   20   backup.example.net.

The two hosts at 10 share the load: a sender picks one of them at random. It tries backup.example.net, at 20, only when neither accepts the message. Paste these three lines into the “Paste MX records” tab to see them read.

01Lowest number first

Lower numbers are more preferred. Hosts that share a number are put in random order, to spread the load, and the sender tries the list in order until a delivery succeeds (RFC 5321, section 5.1).

02An MX record beats the address

Once MX records exist, a sender must not use the domain’s own address as a mail server unless an MX record points to it. With no MX at all, the address is used as an implicit MX with preference 0. If MX records exist but none is usable, delivery is an error.

03Each host needs an address, not an alias

The name an MX record points to must return at least one A or AAAA record. RFC 5321 says a name that returns a CNAME lies outside the standard, and RFC 2181 (section 10.3) says an MX target must not be an alias.

04A null MX says “no mail”

One MX record with preference 0 and a dot as the host (0 .) tells senders the domain accepts no email, so they can fail at once instead of retrying (RFC 7505). It must be the only MX record.

05MX is only about receiving

An MX record says where mail for the domain arrives. Who may send as the domain is a different question, answered by SPF, DKIM and DMARC, which is why the lookup checks them next.

From RFC 5321: Simple Mail Transfer Protocol (section 5.1), RFC 2181: Clarifications to the DNS Specification (section 10.3) and RFC 7505: A “Null MX” No Service Resource Record, read on 25 November 2026.

02 / What providers publish

The hosts, SPF include
and DKIM selectors.

The lookup names a provider only from the hosts in this table, each taken from that provider’s own help page. A host it does not know is listed without a name.

MX hosts, SPF include and DKIM selectors documented by Google Workspace, Microsoft 365, Zoho Mail, Proton Mail, Fastmail, Cloudflare Email Routing and Builderify Broadcast
Provider MX hosts SPF include DKIM selector Pages read
Google Workspace smtp.google.com, preference 1, for new setups. Older setups: aspmx.l.google.com (1), alt1 and alt2 (5), alt3 and alt4 (10), still supported. include:_spf.google.com TXT google, the default prefix; you can enter another Set up MX records for Google Workspace
Set up SPF
Set up DKIM
Microsoft 365 your-domain-com.mail.protection.outlook.com, normally priority 0. A newer form ends in .mx.microsoft. Copy the exact value from the admin center. include:spf.protection.outlook.com CNAME selector1 and selector2, the same for every organisation Manage all mailboxes and mail flow using Microsoft 365
Add DNS records to connect your domain
Set up SPF to help prevent spoofing
Use DKIM for email in your custom domain
How SMTP DANE works
Zoho Mail mx.zoho.com (10), mx2.zoho.com (20), mx3.zoho.com (50). The ending depends on your data centre. include:zohomail.com (or include:one.zoho.com if you use several Zoho services) TXT, a selector you name; Zoho’s example is zoho Configure email delivery
SPF: Sender Policy Framework
DKIM configuration
Proton Mail mail.protonmail.ch and mailsec.protonmail.ch. The page gives no preference numbers. include:_spf.protonmail.ch CNAME protonmail, protonmail2 and protonmail3 Migrate your Google Workspace to Proton (MX step)
Anti-spoofing for custom domains (SPF, DKIM, DMARC)
Fastmail in1-smtp.messagingengine.com (10) and in2-smtp.messagingengine.com (20). Regional servers also exist. include:spf.messagingengine.com CNAME fm1, fm2 and fm3 Manual DNS configuration
Cloudflare Email Routing route1.mx.cloudflare.net, route2… and route3…, priorities set automatically. It forwards mail; it holds no mailboxes. include:_spf.mx.cloudflare.net TXT cf2024-1 for Email Routing Email Service: domain configuration (Email Routing records)
Builderify Broadcast mta-pool.builderify.net, preference 10, on the domain or subdomain you send from include:spf.builderify.net CNAME bldrfy1 Our setup guide

Every vendor page in the table was opened on 25 November 2026. Microsoft’s own pages show two forms of its MX host, so the lookup recognises both; the first-party pages do not say which domains get which, so use the value in your admin center. Where a help page does not name a preference number, the table says so rather than guessing.

03 / What it flags

What the lookup says,
and what to do about it.

Each finding quotes the rule behind it. These are the six you are most likely to meet.

01

Two providers in one record set

Google Workspace and Microsoft 365, say, both listed. A sender tries the lowest preference number first and picks at random between hosts that share one, so mail for your mailboxes can land at a provider that does not hold them. Google, Microsoft, Zoho and Proton each tell you to remove the old provider’s MX records; Microsoft also accepts giving it a higher number. Spam filters and backup servers you chose on purpose are fine.

02

An alias as the MX host

If the host an MX record names is a CNAME, RFC 5321 puts it outside the standard and RFC 2181 (section 10.3) says it must not be an alias. Some senders follow it anyway, which is why this fault can look intermittent: mail arrives from some senders and bounces from others. Point the MX record at the final host name.

03

A host with no address

Each MX name must return an A or AAAA record (RFC 5321). A host that does not is skipped, and if none of them has an address the sender has nothing to connect to. The domain’s own address is not used as a fallback while MX records exist.

04

A null MX beside other records

RFC 7505 (section 3) says a domain with a null MX must not advertise any other MX record. If the domain should accept mail, remove the dot record; if not, remove the rest.

05

An IP address in the MX record

The data of an MX record is a domain name (RFC 5321). Publish an A record for a host name and point the MX at that name. Some DNS hosts accept an address and publish something else, so read back what was saved.

06

Your domain written twice

A DNS host that adds your domain to every name it is given turns mx.yourbrand.com into mx.yourbrand.com.yourbrand.com. The lookup flags a host that ends in your domain twice. Enter the name without your domain, or with a final dot, and read back what was saved.

From RFC 5321: Simple Mail Transfer Protocol (section 5.1), RFC 2181: Clarifications to the DNS Specification (section 10.3), RFC 7505: A “Null MX” No Service Resource Record and RFC 7208: Sender Policy Framework (section 4.5), and the provider pages in chapter 02, read on 25 November 2026.

The records that go with a provider

Once the lookup names the provider, it asks DNS for three more things and says what it found. SPF: exactly one record starting v=spf1 at the domain (RFC 7208, section 4.5, says more than one is a permanent error), and whether it includes the provider’s name from the table. DKIM: whether the provider’s documented selectors exist under _domainkey, as a CNAME or a TXT record. DMARC: whether a record exists at _dmarc, and its policy. It does not read the keys or the policy in depth: the lines it prints link to the SPF lookup counter, the DKIM checker and the DMARC checker for that. To see how one real message came out, paste its header into the email header analyzer.

04 / Changing provider

Switching mail
without losing any.

The MX change is the moment mail starts flowing to the new provider, and senders and resolvers do not all notice it at once. Run the lookup before and after, and work through these in order.

If mail still goes missing after a switch, the guide to business emails going to spam ranks the other causes, and the guide to email bounce codes explains what a returned message says.

01Have somewhere for the mail to land

Cloudflare’s migration steps say to create your routing rules immediately: once the MX records point to Cloudflare, mail to an address with no matching rule is rejected with “Address does not exist” and the sender does not retry. Set up the mailboxes, aliases or rules first, whichever provider you are moving to.

02Replace the old records

Google’s page says to remove any other MX records because your email might not work correctly if you keep old ones. Zoho and Proton say the same. Microsoft gives a choice: remove them, or give the old provider a lower priority than Microsoft 365, which means a higher number. The lookup warns when it finds both.

03Expect a delay

Google says new MX records can take up to 72 hours to be recognised. Cloudflare says resolvers that cached the absence of MX records may take up to 30 minutes to retry. Until the change reaches a sender, its mail goes where the old records said.

04Keep the old mailbox open

Cloudflare’s steps say to keep the old provider’s account open until the new one is active, because messages sent to cached old MX records arrive in the previous mailbox rather than being lost. Check it for a few days after the switch.

05Merge SPF, never add a second record

Zoho’s page says there should be only one SPF record for the domain, and RFC 7208 makes more than one a permanent error. Add the new provider’s include to the record you have, and remove the old one when you no longer send through it.

06Leave the old DKIM keys until you stop sending

Cloudflare’s page says DKIM selectors use different names and do not conflict, so the old provider’s keys can stay while you still send through it. Remove them with its SPF include once you do not.

Where does the lookup go?

Your browser asks Google Public DNS for the records, using its JSON API, and asks Cloudflare’s if that fails. It asks for the domain’s MX and TXT records, the address of each MX host, _dmarc and, when it knows the provider, that provider’s DKIM selectors. Nothing goes to Builderify’s servers, but those resolvers see the names you ask about, as any DNS resolver would. To keep a domain to yourself, use the “Paste MX records” tab, which looks nothing up.

Sending newsletters from Builderify?

Broadcast and Sequences send from your own domain. Their domain setup asks for an MX record, so on a domain whose mailboxes live at Google or Microsoft, send from a subdomain such as news.yourbrand.com and type it into the lookup to check its records. Inbox receives the replies, bounces and unsubscribes that MX record brings back. Sending costs 0.5 credit per email, and the 250 free credits every month cover 500 emails. See pricing.

Questions

MX records, before you ask.

A DNS record that says which host accepts email for a domain. Each one has a preference number and a host name. RFC 5321 (section 5.1) says a sender asks for the domain's MX records, tries the host with the lowest number first, and works down the list until a delivery succeeds. Only when a domain has no MX record at all does it use the domain's own address as the mail server.

Look up its MX records and read the host names. smtp.google.com or aspmx.l.google.com points to Google Workspace, a name ending in mail.protection.outlook.com points to Microsoft 365, and mx.zoho.com points to Zoho Mail, each as that provider's own help page documents. The lookup names six mailbox providers this way, plus Builderify's own records, and lists any other host unnamed. MX records show where mail arrives, not every service that sends as the domain.

It sets the order. Lower numbers are tried first, and the numbers themselves mean nothing beyond that, so 10 and 20 behave like 1 and 2. RFC 5321 says that when several hosts share the lowest number, the sender picks among them at random, which spreads the load but means a stray record at the same number takes part of your mail.

It can, but it rarely works the way people expect. A sender tries the lowest number first and picks at random between equals, so mail for your mailboxes can land at a provider that does not hold them. Google, Microsoft, Zoho and Proton each tell you to remove the old provider's MX records when you switch, and Microsoft also accepts giving the old one a higher number. The lookup warns when it sees two mailbox providers in one record set.

A single MX record with preference 0 and a dot as the host, written 0 . and defined in RFC 7505. It tells senders the domain accepts no email, so they can fail at once instead of retrying. It must be the only MX record, and RFC 7505 says not to publish one on a domain you send email from, because receivers that check the return address may reject your mail.

No. An MX record is about receiving. Whether your messages are accepted is decided by SPF, DKIM and DMARC, which the lookup checks next for the provider it recognises. If you send newsletters with Builderify Broadcast and your mailboxes live at Google or Microsoft, send from a subdomain such as news.yourbrand.com, because Broadcast's domain setup adds an MX record of its own on the domain it sends from.

No. Your browser asks Google Public DNS, and Cloudflare's resolver if Google's does not answer, so nothing reaches Builderify's servers. Those resolvers do see the names you ask about, as any DNS resolver would. The Paste MX records tab looks nothing up, so use it to keep a domain private.

Stop losing the visitors
you already paid for.

More leads from the traffic you already have, and follow-up that sends itself. Free to start. No card, no monthly fee.