DNS RobotDNS Propagation Checker
HomeDNS LookupWHOIS LookupIP LookupSSL Check
DNS RobotDNS Propagation Checker

Next-generation DNS propagation toolkit

Privacy PolicyTerms of ServiceAbout UsContact

DNS Tools

DNS LookupDomain to IPNS LookupMX LookupCNAME LookupView all

Email Tools

SPF Record CheckerDMARC CheckerDKIM CheckerSMTP Test ToolEmail Header AnalyzerView all

Website Tools

WHOIS LookupDomain AvailabilitySubdomain FinderCMS DetectorLink AnalyzerView all

Network Tools

Ping ToolTraceroutePort CheckerHTTP Headers CheckSSL Certificate CheckView all

IP Tools

IP LookupWhat Is My IPIP Blacklist CheckIP to HostnameASN LookupView all

Utility Tools

QR Code ScannerQR Code GeneratorMorse Code TranslatorText to Binary ConverterSmall Text GeneratorView all
© 2026 DNS Robot. Developed by ❤ Shaik Brothers
All systems operational
Made with
  1. Home
  2. /
  3. Email Tools
  4. /
  5. MX Lookup

MX Lookup

Check MX records for any domain instantly. Our free MX lookup tool shows mail exchange records with email provider detection, priority analysis, and mail server IP resolution. Verify MX records and email routing in seconds.

Free MX ToolMX Record LookupProvider DetectionIP Resolution
MX Lookup

Check MX records, mail server priorities, and email provider detection

Selected Server:🇺🇸Google DNS(Google LLC)- 8.8.8.8Avg Speed: 9.96 ms

What Is MX Lookup?

An MX lookup (Mail Exchange lookup) queries the Domain Name System to find the mail servers responsible for receiving email for a domain. MX records are DNS records that specify which servers handle incoming email and in what order they should be contacted. When you perform an MX record lookup, you discover the complete email infrastructure behind any domain.

Our free MX record checker goes beyond basic record queries. It automatically detects email providers like Google Workspace, Microsoft 365, and ProtonMail, resolves mail server IP addresses, and analyzes priority configurations. Whether you need to check MX records for email troubleshooting, verify a migration, or audit email infrastructure, this tool provides complete mail exchange intelligence.

MX lookup results showing mail exchange records with email provider detection, priorities, and server IPs
DNS Robot's MX lookup tool checks mail exchange records with provider detection, priority analysis, and IP resolution.

How to Check MX Records of a Domain (3 Methods)

There are several ways to check MX records and find mail servers for any domain. Our online tool is the fastest and most comprehensive method, but command-line alternatives are useful for system administrators.

Email routing diagram showing MX record lookup, mail server selection by priority, and SMTP delivery
How email routing works: the sending server queries MX records to find the destination mail server, then connects via SMTP.
1
Online MX Lookup Tool (Recommended)
Enter any domain name in our tool above and click "MX Lookup". You'll instantly see all MX records with priorities, email provider names, and server IP addresses — no installation required.
2
Using nslookup (Windows/Mac/Linux)
Open a terminal and run nslookup -type=mx example.com. This queries MX records directly and shows all mail servers with their priority values. Available on all major operating systems.
3
Using dig (Mac/Linux)
Run dig example.com MX +short for a quick MX record lookup, or dig example.com MX for full details including TTL values. For all DNS record types, use our DNS Lookup tool.

What MX Lookup Reveals

✓
Mail Exchange Records
Shows all MX records with hostnames and priority values that determine email routing order and failover behavior.
✓
Email Provider Detection
Automatically identifies 30+ email providers including Google Workspace, Microsoft 365, ProtonMail, Zoho, Fastmail, and security gateways like Mimecast and Proofpoint.
✓
IP Address Resolution
Resolves each mail server's IP addresses to reveal the physical infrastructure behind MX hostnames.

When to Use MX Lookup

Email Troubleshooting
Diagnose email delivery failures by verifying MX records, mail server connectivity, and configuration issues.
Email Migration
Verify MX record changes during email provider migrations. Confirm the new mail servers are responding before removing old records.
Security Audits
Verify email security gateways (Mimecast, Proofpoint) are correctly positioned. Combine with SPF and DMARC checks.
Competitor Analysis
Discover which email provider competitors use. Compare Google Workspace vs Microsoft 365 adoption in your industry.

What Is an MX Record? Understanding Mail Exchange

An MX record (Mail Exchange record) is a DNS record type that directs email to the correct mail servers for a domain. Unlike NS records which delegate DNS authority, MX records specifically control email routing. Every domain that receives email must have at least one MX record.

MX record priority explained showing mail servers contacted in order with lower numbers tried first
MX record priority explained: lower priority numbers are tried first, with higher numbers serving as backup mail servers.

How MX Records Work

  • Sender's mail server queries DNS for the recipient domain's MX records
  • MX records return mail servers sorted by priority (lowest number = highest priority)
  • The sender connects to the highest-priority server via SMTP (port 25)
  • If the primary server fails, the sender tries the next priority level

MX Record Example

; MX records for example.com
example.com. 3600 IN MX 1 aspmx.l.google.com.
example.com. 3600 IN MX 5 alt1.aspmx.l.google.com.
example.com. 3600 IN MX 10 alt2.aspmx.l.google.com.

This shows Google Workspace MX records with priority 1 (primary), 5, and 10 (backups). TTL is 3600 seconds (1 hour).

Popular Email Providers and Their MX Records

Our MX record checker detects 30+ email providers by analyzing MX record hostnames. Here are the most common email providers our tool identifies, along with their distinctive MX patterns:

Google Workspace

Most popular business email. MX pattern: aspmx.l.google.com with 5 servers at priorities 1, 5, 5, 10, 10.

Microsoft 365

Enterprise email with Exchange. MX pattern: *.mail.protection.outlook.com with single server at priority 0 or 10.

ProtonMail

Privacy-focused encrypted email. MX pattern: mail.protonmail.ch with backup mailsec.protonmail.ch.

Use our MX lookup tool to check MX records of any domain and discover which email provider powers it. Our tool also detects security gateways like Mimecast and Proofpoint that sit in front of the actual email provider. For complete domain intelligence, combine MX Lookup with our WHOIS Lookup and SPF Checker tools.

Email Infrastructure Best Practices

  • Configure backup MX records for email redundancy and failover
  • Implement SPF, DKIM, and DMARC records for email authentication
  • Use appropriate TTL values (3600s recommended for MX records)
  • Monitor mail server connectivity with regular MX lookups
  • Verify MX records after any email provider changes or migrations
  • Consider email security gateways (Mimecast, Proofpoint) for threat protection
  • Test email delivery with DNS Propagation Checker after MX changes
  • Keep mail server software and TLS certificates updated for security

Related DNS & Email Tools

DNS Lookup

Check all DNS record types (A, AAAA, MX, CNAME, TXT, and more).

SPF Checker

Verify SPF records for email authentication and deliverability.

DMARC Checker

Check DMARC policy for email domain protection and reporting.

NS Lookup

Check nameservers with provider detection and response times.

WHOIS Lookup

Find domain registration, registrar, and owner details.

DNS Propagation

Check DNS propagation worldwide after MX record changes.

Frequently Asked Questions About MX Lookup

What is an MX record?

An MX (Mail Exchange) record is a DNS record that specifies which mail servers receive email for a domain. Each MX record includes a priority value — lower numbers mean higher priority. When someone sends an email, the sender's server uses MX records to find the correct destination.

How to check MX records of a domain?

Enter the domain in our MX Lookup tool and click "MX Lookup". You'll see all MX records with priorities, provider detection, and IP addresses. Command-line: nslookup -type=mx example.com or dig example.com MX +short.

What does MX record priority mean?

MX priority (preference) determines the order mail servers are contacted. Lower numbers have higher priority — priority 1 is tried before priority 10. If the primary server is unavailable, email is sent to the next priority level, providing redundancy.

Why is my email not being delivered?

Common causes include misconfigured MX records, unreachable mail servers, DNS propagation delays, or SPF/DKIM/DMARC authentication failures. Use our MX lookup to verify your records, then check SPF and DMARC records.

Can a domain have no MX records?

Yes, domains not configured for email may have no MX records. Per RFC 5321, if no MX records exist, the sender may fall back to A record resolution. To explicitly reject email, a domain can set a null MX record (RFC 7505).

How do I detect my email provider?

Our MX lookup tool automatically detects email providers by analyzing MX hostnames. Google Workspace uses aspmx.l.google.com, Microsoft 365 uses *.mail.protection.outlook.com. The tool identifies 30+ providers.

How long do MX record changes take?

MX record changes typically propagate within 1-48 hours depending on TTL settings. During migration, keep both old and new MX records active. Use our DNS Propagation Checker to monitor progress.

What is the difference between MX and A records?

MX records specify mail servers for email delivery, while A records map domains to IP addresses for web traffic. MX records include priority values for failover. Use our DNS Lookup to check both.