Home › Developer Tools › MX Lookup

MX Lookup

Enter a domain or email address to see its MX records: which mail servers receive its email, in what order, their IP addresses and which provider runs them. The query goes straight from your browser to a public DNS-over-HTTPS resolver.

Last updated:

Try:

Enter a domain and click Check MX records to see which servers receive its email.

Advertisement
Advertisement

How to use the MX Lookup

  1. Type a domain such as example.com, or paste an email address or URL; the domain is taken from it.
  2. Click Check MX records or press Enter.
  3. Read the summary: who handles the domain's email, how many MX records it has and whether SPF and DMARC exist.
  4. Check the table: lower priority numbers are tried first, and each server's IP addresses are listed.
  5. Fix any warnings at your DNS host, then run the lookup again (changes appear after the old TTL expires).

MX records of popular email providers

When you move a domain to a new email service, these are the MX records the provider asks you to publish. Always copy the exact values from your provider's admin console, because some generate a host name unique to your domain.

ProviderPriorityMail server (MX host)
Google Workspace (current setup)1smtp.google.com
Google Workspace (older setup)1, 5, 5, 10, 10aspmx.l.google.com, alt1/alt2.aspmx.l.google.com, alt3/alt4.aspmx.l.google.com
Microsoft 3650yourdomain-com.mail.protection.outlook.com (unique per domain)
Zoho Mail (US data center)10, 20, 50mx.zoho.com, mx2.zoho.com, mx3.zoho.com
Proton Mail10, 20mail.protonmail.ch, mailsec.protonmail.ch
Fastmail10, 20in1-smtp.messagingengine.com, in2-smtp.messagingengine.com
iCloud+ custom domain10, 10mx01.mail.icloud.com, mx02.mail.icloud.com
Cloudflare Email Routingvariesroute1, route2, route3.mx.cloudflare.net

Reading the results

  • Priority order, not size. "1, 5, 10" and "10, 20, 30" behave the same. Only the order matters, and equal numbers are used in random order.
  • Security gateways hide the mailbox. If the MX belongs to Mimecast, Proofpoint, Barracuda or a similar filter, mail is scanned there first and then passed to the real mailbox provider (often Microsoft 365 or Google), which DNS does not reveal.
  • Forwarding services such as Cloudflare Email Routing or ImprovMX receive mail and forward it to another address; they do not store it.
  • Old and new records together during a migration can split your mail between two systems. Remove the old provider's MX records once the new ones work.
  • MX only covers incoming mail. Which servers may send mail for the domain is set by SPF, and DKIM and DMARC protect against spoofing. Check them with the SPF Record Checker and DMARC Checker, or see every record type with the DNS Lookup.

Frequently asked questions

What is an MX record?

An MX (mail exchanger) record is a DNS record that tells other mail servers where to deliver email for a domain. Each MX record has a priority number and the host name of a mail server, for example 1 aspmx.l.google.com for Google Workspace.

What does the MX priority number mean?

Sending servers try the MX with the lowest number first. Higher numbers are backups used only when the preferred servers cannot be reached. Records with the same number share the load, and senders pick among them at random. The actual values do not matter, only their order.

How can I tell which email provider a domain uses?

Look at the MX host names. Google Workspace uses hosts ending in google.com, Microsoft 365 uses hosts ending in mail.protection.outlook.com, Zoho uses zoho.com, and so on. This tool recognizes more than 40 providers and email security gateways automatically. If a gateway such as Mimecast or Proofpoint is listed, the real mailbox provider sits behind it and cannot be seen from DNS.

What happens if a domain has no MX record?

Under the SMTP standard (RFC 5321), a sender that finds no MX record falls back to the domain's own A or AAAA address and tries to deliver there. To say clearly that a domain never receives email, publish a null MX record instead: a single MX with priority 0 and the host "." (RFC 7505).

Can an MX record point to an IP address or a CNAME?

No. An MX record must point to a host name that has its own A or AAAA records. Pointing it at an IP address is invalid, and pointing it at a CNAME alias is not allowed by RFC 2181, so some senders will refuse or delay delivery. The tool warns about both.

How long do MX record changes take to work?

New records are visible as soon as your DNS host publishes them, but resolvers that cached the old records keep using them until their TTL expires. A TTL of 3600 means up to one hour. Lower the TTL a day before a planned email migration to make the switch faster.

Is my lookup private?

The domain you enter is sent directly from your browser to Cloudflare's or Google's public DNS-over-HTTPS resolver, the same kind of query your computer makes every time you open a website. FreeToolCabin does not receive or store it.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

DNS LookupLook up A, AAAA, MX, TXT, NS, CNAME, SOA and CAA records with TTLs over secure DNS.SPF Record CheckerLook up a domain's SPF record, count nested DNS lookups, find errors and test a sender IP.DMARC CheckerLook up a domain's DMARC record, explain every tag, grade the policy and get fix suggestions.Email Header AnalyzerPaste raw email headers to trace every server hop, see delays and check SPF, DKIM and DMARC.Email ValidatorCheck email lists and spot disposable addresses.Website Down CheckerCheck if a website is down for everyone.Deep Link GeneratorCreate links that open directly in apps.URL ParserBreak a URL into its parts and edit query string parameters with a live rebuild.User Agent ParserSee your user agent and parse any UA string into browser, OS, engine and device.HTTP Status CodesSearch every HTTP status code with plain-English meanings, causes, fixes and RFC references.Subnet CalculatorCalculate IPv4 network, broadcast, host range, masks and host count, and split subnets.Bulk URL OpenerOpen a list of URLs in new tabs at once or in batches, with cleanup, dedupe and delay.API Request TesterSend GET, POST, PUT and DELETE requests with headers and a body, then inspect the response.WebSocket TesterConnect to a ws:// or wss:// server, send messages and watch a timestamped live log.WHOIS LookupLook up who registered a domain or IP: registrar, creation and expiry dates, name servers, status.Mailto Link GeneratorBuild encoded mailto: links with cc, bcc, subject and body, plus HTML code and a QR code.WhatsApp Link GeneratorCreate wa.me click-to-chat links with a pre-filled message, button HTML and a QR code.Basic Auth Header GeneratorCreate an Authorization: Basic header from a username and password, or decode one.Common Ports ListSearchable TCP/UDP port number list with service, protocol and description, filterable by range.DMARC Record GeneratorCreate a DMARC TXT record with policy, reporting and alignment options, every tag explained.IP Geolocation LookupFind the country, city, ISP, ASN and time zone of any IP address or domain, with a map.Reverse DNS LookupFind the PTR hostname of any IPv4 or IPv6 address, one at a time or hundreds in bulk.SPF Record GeneratorBuild a valid SPF TXT record from mail providers, IPs and includes, with a lookup-count check.CIDR to IP RangeConvert IPv4 or IPv6 CIDR blocks to first/last IP, mask and host count, and export IP lists.DNS Propagation CheckerCompare DNS answers and TTLs from Cloudflare, Google, Quad9, AdGuard and NextDNS side by side.Domain Availability CheckerCheck if domain names are available across .com, .io, .ai and more, with registrar and expiry.MAC Address LookupFind the vendor of a MAC address or OUI, check multicast and random bits, look up many at once.Uptime SLA CalculatorTurn 99.9% uptime into allowed downtime per day, month and year, or downtime into uptime %.Website Speed TestTest page speed with Lighthouse: performance score, Core Web Vitals and fixes, mobile or desktop.ASN LookupLook up an AS number or IP: network owner, country, registry, abuse contact and announced prefixes.Bandwidth CalculatorEstimate monthly website bandwidth (GB) and the Mbps you need from page views and page size.CNAME LookupFollow a hostname's full CNAME chain to its final IP addresses, with TTLs and CDN detection.CORS TesterSend GET, POST or OPTIONS from your browser to any API and see whether CORS allows it and why not.DKIM Record CheckerLook up a domain's DKIM key by selector (or auto-detect), check key type, bit length and tags.DKIM Record GeneratorCreate a DKIM RSA key pair in your browser with the TXT record, selector host and private key PEM.DMARC Report AnalyzerRead DMARC aggregate XML reports (.xml, .gz, .zip): sources, SPF/DKIM alignment and pass rates.Domain Age CheckerSee how old a domain is, when it was registered and when it expires. Bulk check up to 50.Email Deliverability CheckerGrade a domain's MX, SPF, DMARC, DKIM, BIMI and MTA-STS records in one report with fixes.Email ObfuscatorHide an email address from spam bots with HTML entities, a JavaScript mailto link or reversed CSS text.Email PermutatorGenerate every common business email format from a first name, last name and company domain.HTTP Header ParserPaste raw HTTP headers to get a table explaining each one plus a security headers grade.IP Blacklist CheckerCheck an IPv4 address against 21 public spam blocklists (DNSBLs) and see listed or clean.IP Range to CIDRTurn a start and end IP into the shortest list of CIDR blocks, for IPv4 and IPv6.IPv6 Subnet CalculatorIPv6 prefix to network, range, address count and /64s, and split it into child subnets.Link in Bio Page GeneratorCreate a link-in-bio page with avatar, bio, links and theme, then download it as one HTML file.NS LookupFind a domain's authoritative nameservers with their IPs, SOA record and DNS hosting provider.Social Share Link GeneratorMake share links and buttons for Facebook, X, LinkedIn, Reddit, Pinterest, WhatsApp and email.Subnet Mask Cheat SheetInteractive /0 to /32 table of subnet masks, wildcards and host counts with details per prefix.TXT Record LookupLook up a domain’s DNS TXT records and see which are SPF, DMARC, DKIM or verification tokens.VLSM CalculatorSplit a network into variable-length subnets sized to the hosts each one needs.YouTube Timestamp Link GeneratorMake YouTube links that start at a set time, embed start/end codes and lists of timestamps.
See all 52 Network, DNS & Email Tools →