Free MX priority optimizer: analyse MX record priorities, redundancy, TTL values, and email delivery configuration
This MX priority optimizer performs a live DNS lookup and health analysis on any domain's MX records. MX (Mail Exchanger) records, defined in RFC 1035, tell the internet which servers are authorised to receive email for a domain. The priority number on each record controls delivery order. Lower numbers are tried first. Correct priority configuration ensures that if the primary mail server is unavailable, email is automatically routed to a backup rather than bouncing. This tool checks whether that configuration is correctly set up and flags every gap with a specific fix recommendation.
Beyond priorities, this analyser checks TTL (Time to Live) values on each record. TTL controls how long DNS resolvers cache the record before querying for a fresh value. Very short TTLs generate excessive DNS queries and can slow resolution; very long TTLs make DNS changes propagate slowly when you need to migrate or update your mail server. The recommended value under normal operation is 3600 seconds (one hour). The analyser also identifies the email provider from the exchange hostnames. Google Workspace, Microsoft 365, Zoho Mail, Proton Mail, Fastmail, SendGrid, Mailgun, and Amazon SES are all detected automatically.
This tool is specifically focused on the priority and redundancy configuration of MX records. For a broader one-pass domain audit covering MX, SPF, DMARC, and DKIM in a single scored check, use the Email Health Checker.
Why MX priority configuration matters for email reliability and delivery
MX priority configuration is one of those infrastructure details that works silently when correct and causes painful, hard-to-diagnose failures when wrong. A domain with a single MX record and no backup has a single point of failure for all inbound email. A server outage, a network incident, or even a planned maintenance window means email from every sender queues and eventually bounces if the outage exceeds the sender's retry window (typically 4-5 days per RFC 5321, but some senders give up sooner). For business-critical domains, where a customer reply, an invoice, or a support ticket could be silently lost, this is not an acceptable risk.
Equal-priority records are a subtler problem. When two MX records have the same priority number, sending servers distribute traffic across them randomly. This is the correct behaviour for load-balanced equivalent servers, but it is a silent misconfiguration when one server is intended as a backup. If the intended backup server is not fully provisioned to accept mail, because it was set up quickly as a placeholder or has not been fully configured, randomly routing half your inbound traffic to it causes intermittent delivery failures that are difficult to trace. The analyser flags equal priorities specifically because this pattern is more often an error than an intentional load-balancing decision.
TTL values have a direct impact on how quickly you can respond to mail server problems. If your MX record has a TTL of 86400 seconds (24 hours) and your primary mail server fails, it will take up to 24 hours for changes to your MX records to propagate globally. Meaning every sending server in the world will continue attempting to deliver to the failed server for up to a day. Keeping TTL values at 3600 seconds normally, and reducing them to 300 seconds before planned maintenance, gives you control over your blast radius. Proactively checking TTL values before you have a problem is exactly what this analyser enables.
For domains used exclusively for non-email purposes, parked domains, subdomain-only web services, acquired brand domains, the correct MX configuration is a null MX record (priority 0, exchange '.') rather than no MX record at all. A null MX explicitly tells senders the domain accepts no email, preventing fallback delivery attempts to the A record. Combined with SPF v=spf1 -all and DMARC p=reject, a null MX fully locks down a non-sending domain. This analyser surfaces domains with no MX records and recommends publishing a null MX where appropriate.
Common MX priority problems: causes and fixes
Most MX priority issues trace to one of a small number of root causes. Here is what each one means and how to resolve it.
MX priority configurations: what correct and incorrect setups look like
Four configurations showing what the analyser returns and whether each is correct, misconfigured, or intentional.
MX record priority questions and answers
Answers to the most common questions about MX priorities, redundancy, TTL, null MX, and provider-specific configurations.
MX records in context: how priority fits into the full email DNS picture
MX records handle the inbound half of email routing. When any mail server anywhere in the world sends email to [email protected], it performs a DNS MX query to find which server to connect to. The priority system in MX records is entirely server-side. The sender consults your priorities and connects accordingly. Your mail server has no control over which MX record the sender chooses, only over which records you publish and at what priorities.
The outbound half of email routing, controlling which servers are allowed to send email appearing to come from your domain, is governed by SPF (Sender Policy Framework). Published as a TXT record at your root domain, SPF lists the IP addresses and sending services authorised on your behalf. Use the SPF Record Checker to validate your record and confirm the DNS lookup count is within the RFC 7208 10-lookup limit. If your SPF has too many include: chains, the SPF Flattening Tool resolves them to direct IP ranges.
DKIM (DomainKeys Identified Mail) adds cryptographic signing to outgoing messages. The private key signs the message; the public key is published in DNS at selector._domainkey.yourdomain.com. Recipients verify the signature to confirm the message was not altered in transit. Use the DKIM Analyzer to look up your key, estimate bit strength, and check for test mode or revoked keys.
DMARC (Domain-based Message Authentication, Reporting, and Conformance) ties SPF and DKIM together with alignment enforcement. The DMARC record at _dmarc.yourdomain.com specifies the policy (none/quarantine/reject) and provides aggregate reporting on authentication pass/fail rates across all senders. Use the DMARC Checker for a policy health summary or the DMARC Analyzer for a full tag-by-tag breakdown.
For a complete one-pass audit covering MX, SPF, DMARC, DKIM, and disposable domain status with a scored A-F grade, use the Email Health Checker. For a security-focused risk score covering authentication posture and BIMI, use the Email Privacy Auditor.
Need a disposable email address?Get a free instant throwaway email. No signup, no trace.
Get Free Temp Mail →