How to Check MX Records for a Domain
A practical guide to checking MX records, understanding where a domain's email is supposed to go, and spotting the most common mail-routing mistakes.
If email is bouncing, disappearing, or landing in the wrong place, MX records are one of the first things to inspect.
They tell the world where mail for a domain is supposed to go.
What an MX record does
An MX record points incoming mail for a domain toward a mail server.
For example, if someone sends mail to hello@example.com, the sending server checks the MX records for example.com to decide where to deliver it.
If those records are missing, broken, or pointing at the wrong host, email delivery gets weird fast.
The quick way to check MX records
Use Domain Lookup and inspect the MX section.
You want to confirm:
- are MX records present?
- do the hostnames look correct?
- do the priorities make sense?
- do those hostnames resolve cleanly?
That gets you most of the way there for a first pass.
What MX priorities mean
MX records usually have priority values.
Lower number = higher priority.
That means:
10 mail1.example.com20 mail2.example.com
would normally try mail1 before mail2.
If the higher-priority server fails, the sender may try the lower-priority one.
Common MX problems
1. No MX records at all
Some domains do not receive email and that is fine. But if the domain is supposed to receive mail, no MX records is a problem.
2. MX points to the wrong provider
This happens a lot during migrations.
The business thinks it is on one mail platform, but the domain still points at another.
3. The MX hostname exists, but does not resolve properly
An MX target should resolve to an address. If it points at a hostname that is broken or missing, delivery can fail.
4. The MX records are right, but SPF, DKIM, or DMARC are wrong
This is the classic half-fix.
Mail may route correctly, but authentication and deliverability still break. That is why you should check TXT posture right after MX.
MX records do not tell the whole email story
MX records answer where mail should go, but not whether the full mail setup is healthy.
A proper mail check usually includes:
- MX
- SPF
- DKIM
- DMARC
- TTL
- recent DNS changes
If you are in that situation, follow up with:
- SPF, DKIM, and DMARC Guide
- What Is an MX Record and Why Email Stops Working After DNS Changes
- Why TXT Record Verification Fails
How MX problems usually show up
From the user side, the symptoms often look vague:
- email bounces
- new inboxes never receive messages
- domain verification fails
- some providers work and others do not
That is why checking the DNS layer early is worth it. You can rule out a whole class of problems before digging into mailbox settings or SMTP logs.
What to check during a mail migration
If email recently moved between providers, use this order:
- check MX
- check SPF
- check DKIM
- check DMARC
- check TTL and wait time
That keeps you from declaring the move “done” while half the DNS still points at the old provider.
International note
This workflow does not really change by country. Whether the domain is a .com, .co.uk, .de, .pk, or another ccTLD, the question is still the same:
where is inbound mail being routed right now?
That is why MX checks are such a dependable first step.
The short version
If you want to know where a domain’s email is supposed to go, check the MX records.
If you want to know whether the full email setup is healthy, check MX and then immediately look at the related TXT records too.
MX tells you the route. It does not guarantee the rest of the journey is healthy.
Continue reading
Stay in the same investigation track with these closely related guides.
Tools mentioned in this article
Run the same diagnostics to follow along with the guide.