Free tool

MX lookup

Enter a domain name and see where its email goes: the MX records, each with its preference number (lower is tried first). Switch the record type to look up the domain's A, AAAA, TXT, CNAME or NS records, so you can check SPF, verification records and name servers in one place.

Highlights

  • Mail servers and their preference

    Each MX record has a preference number. Lower numbers are tried first; servers with the same number share the mail.

  • The other records too

    A and AAAA (addresses), TXT (SPF, DMARC and verification strings), CNAME (aliases) and NS (the name servers in charge).

  • A real lookup

    The query runs from our server using its normal DNS resolvers, with a 5 second limit, so you see what the wider internet sees rather than your own cache.

How it works

Set it up in a few steps

  1. 01

    Type a domain

    Enter the name only, such as example.com. Leave out https:// and any path.

  2. 02

    Read the MX records

    The mail servers are listed with their preference numbers; the lowest number is tried first. If there are none, the domain doesn't receive email directly.

  3. 03

    Check the rest

    Pick another record type from the Record list and look up again to see the addresses, TXT strings and name servers the domain publishes.

  4. 04

    Keep watching it

    To be told when any of these records changes, create a DNS monitor in Uptime Timmy.

The details

Exactly what it does

Record typesMX, A, AAAA, TXT, CNAME, NS
Where it runsOn our server, using its system DNS resolvers
Time limit5 seconds
MX preferenceShown before each mail server; the lowest number is tried first

FAQ

Frequently asked questions

What does the MX preference number mean?

It's a priority. Sending mail servers try the MX record with the lowest number first and fall back to higher numbers if it doesn't answer. Two records with the same number share the load.

Why does a record I just changed still show the old value?

DNS answers are cached for as long as the record's TTL says. Until that runs out, resolvers, ours included, can keep returning the old answer.

Can I be alerted when MX records change?

Yes. A DNS monitor watches one record set (A, AAAA, MX, TXT, CNAME or NS) and goes Cancelled when the answer is not exactly what you expect, in any order. Write MX values as '10 mail.example.com'.

ALL ABOARD

Start monitoring in 30 seconds

There’s nothing to install and no card to enter. The free plan stays free.

Get started free