Email Infrastructure // Online

MX Record Lookup.

An MX record lookup queries the DNS for a domain's Mail Exchange records to reveal which servers are responsible for receiving its email. When you enter a domain, this free tool resolves every MX hostname, displays the priority order that determines which server receives mail first, shows the underlying IP addresses and TTL values, and identifies the email provider such as Google Workspace, Microsoft 365, or Zoho. Use it to verify your email routing is correct, confirm backup mail servers are configured, and diagnose delivery issues caused by misconfigured or missing MX records.

Email Infrastructure
Free Tool
MX
System Active

Enter any domain to view its MX records, mail server IPs, and email provider.

Save & Share Your Results

Enter your email to receive a copy of your results and share them with your team.

We will only use your email to share your results. No spam.

How to Use

Get Started in 3 Steps

Step 01

Enter a Domain

Type any domain name (e.g., google.com, example.com). The tool accepts bare domains, full URLs, and email addresses — it extracts the domain automatically.

Step 02

View MX Records

See all mail exchange records sorted by priority, with each server's hostname, resolved IP addresses, TTL value, and identified email provider.

Step 03

Analyze Your Setup

Check that your MX records point to the correct mail servers, verify backup servers are configured, and confirm TTL values are appropriate.

How It Works

Under the Hood

When you submit a domain, the tool queries DNS-over-HTTPS (Google DoH) for MX records, which returns the hostname, priority, and TTL for each mail exchange server configured on the domain.

For each MX hostname, the tool resolves A records in parallel to find the IP addresses of the mail servers. This shows you the actual infrastructure handling your email.

The tool identifies your email provider by matching MX hostnames against known patterns — for example, *.protection.outlook.com indicates Microsoft 365, while ASPMX.L.GOOGLE.COM indicates Google Workspace.

All DNS queries run in parallel with a 5-second per-query timeout and an 8-second overall budget to ensure fast results even when some servers are slow to respond.

FAQ

Frequently Asked Questions

What is an MX record and what does it do?
An MX (Mail Exchange) record is a DNS record that specifies which mail servers are responsible for receiving email on behalf of a domain. When someone sends an email to user@example.com, the sending mail server queries the DNS for MX records of example.com to find out where to deliver the message. MX records include a priority value — the lower the number, the higher the preference. If the primary server is unavailable, mail is routed to the next server in priority order.
How do I check MX records for a domain?
Enter any domain name into the lookup tool above and click "Lookup MX." The tool queries DNS-over-HTTPS to resolve the domain's MX records and displays each mail server's hostname, priority, IP addresses, TTL (time-to-live), and identifies the email provider (Google Workspace, Microsoft 365, Zoho, etc.). Results are sorted by priority so you can see the primary mail server first.
What does the priority number mean in MX records?
The priority (or preference) value determines the order in which mail servers are tried when delivering email. A lower number means higher priority — a server with priority 10 is preferred over one with priority 20. If the highest-priority server is unavailable, the sending server tries the next one. Many organizations set up multiple MX records with different priorities to ensure email delivery even if the primary server goes down.
Why does my domain have multiple MX records?
Multiple MX records provide redundancy for email delivery. If the primary mail server (lowest priority number) is unavailable due to maintenance, outage, or network issues, email is automatically routed to the backup server with the next-lowest priority. For example, Google Workspace typically uses five MX records (ASPMX.L.GOOGLE.COM through ALT4.ASPMX.L.GOOGLE.COM) with priorities 1, 5, 5, 10, and 10 to distribute load and ensure high availability.
What is TTL in MX records and how does it affect email?
TTL (Time-To-Live) is the duration in seconds that a DNS resolver should cache the MX record before querying again. A typical TTL for MX records is 3600 seconds (1 hour). Lower TTL values mean changes propagate faster but increase DNS query volume. When migrating email providers, temporarily lowering your MX record TTL to 300 seconds (5 minutes) before making the switch helps the transition complete more quickly.
Related Tools

Explore More Tools

Need Expert Help?

We Set Up Email Infrastructure Right

Our Email Infrastructure Setup service handles MX record configuration, email provider migration, SPF/DKIM/DMARC setup, and ongoing deliverability monitoring. Starting at $5K for complete email infrastructure optimization.

Learn About Email Infrastructure Setup
Related Articles

Learn More