Gain access to other types of DNS records. Get deep and accurate DNS data from our market-leading Internet infrastructure intelligence repositories.
MX lookups help verify where mail is routed on the DNS and spot obvious misconfigurations (e.g., missing or misspelled records), often resulting in undelivered emails.
Performing an MX lookup lets you see your MX records and their priority values to confirm you have appropriate redundancy and ensure delivery continues if a server is down or overloaded.
When migrating to a new email service, an MX lookup tool allows you to verify that newly configured MX records are live on the DNS and visible to public resolvers — so mail can be routed to the right service.
“We want to provide all Cyberscape users the ability to integrate relevant data for their cyber threat investigations. WhoisXML API provides unique data that will be helpful to the cyber threat investigation community, allowing analysts to shorten the cycle of understanding and mitigating threats.”
“WhoisXML was the game changer for us. It has revolutionized our ability to disrupt cybercrime in process and at scale by quickly identifying all of the vendors providing material support for scammers using sophisticated website templates that look legitimate. By quickly identifying the vendors unknowingly supporting the criminals, we can provide them with public interest justification to burn down the criminal infrastructure.”
An MX record or mail exchange record, is a type of DNS record that specifies which mail servers are responsible for accepting email messages for a domain. They are essential for email delivery, as they direct incoming emails to the correct servers depending on the email service provider (e.g., Google Workspace, Microsoft 365, Zoho Mail, etc.). A domain can have multiple MX records, each with a different “priority” value.
An MX record is required so the sending email server knows where to deliver a message for your domain.
Yes. Having multiple mail exchange records is recommended for redundancy and reliability. By configuring more than one mail server with different priority values, you establish a fallback system. If the primary mail server (the one with the lowest priority number) is offline due to maintenance, an outage, a hardware failure, or any other reason, the sending server will automatically attempt to deliver the email to the next available server on the list.
This setup prevents emails from getting lost and ensures your business can continue receiving important communications without interruption. Additionally, multiple MX records can be configured with the same priority value to distribute incoming email traffic across several servers (i.e., load balancing).
When an email is sent, the sender’s mail server doesn’t know where to deliver it, so it queries the DNS for the recipient’s domain name (e.g., gmail.com) to find its MX record. The authoritative DNS server for that domain responds with a list of designated mail servers, each accompanied by a numerical priority value.
The sending mail server then attempts to connect to the recipient's mail server with the lowest priority number first (actually the highest priority value). If the server is unavailable, it systematically tries the next lowest-priority server until a connection is established. This system of multiple records with priorities ensures that email can still be delivered even if one mail server is down.
Checking a domain's MX record helps detect misconfigurations that could prevent users from receiving emails. An MX lookup tool is primarily used for diagnosing and troubleshooting email delivery issues, as it allows you to check a domain's DNS records to see which mail servers are designated to receive emails and whether they are configured correctly.
For instance, you might want to look up mail exchange records and use an MX lookup tool when emails are not being delivered, since a missing or incorrect MX record is a common cause of delivery failure. If you or your users are not receiving emails for a specific domain, the first step is to check your MX records to see if they are pointing to the correct email server.
Another instance where an MX lookup tool is needed is when you migrate your email service, such as from an on-premises server to Google Workspace or Microsoft 365. You need to update your MX records and use an MX record lookup tool to verify that the new records have been propagated and are correctly configured.
The domain owner has legal and administrative control over MX records. They have the power to decide who provides their DNS services and, therefore, who manages their MX records.
However, the DNS service provider is the entity that actually “controls” the records in a technical sense. This is often the same company as the domain registrar, but it can also be a separate service, such as Cloudflare or Amazon Route 53. The DNS provider's control panel lets owners log in to add, edit, or delete MX records. The records are stored on the DNS provider's name servers, which are the authoritative sources of information for that domain on the Internet.
The time it takes for a new mail exchange record to propagate can vary. The fastest time can be 15 minutes to an hour, but it can also take as long as 24-48 hours. The exact time depends on your DNS record's time to live (TTL) value and the speed at which global DNS servers refresh their DNS caches. Even your local computer may have a DNS cache that affects MX record propagation. Even after the record has propagated globally, you may still see the old record until your local cache is cleared.
You can use this free MX lookup tool or use DNS Lookup API to retrieve your domain's MX and other DNS records, such as TXT, CNAME, PTR, and A records. Simply type in the domain name and click the Lookup button. If you only want to look up a specific record type, you can use these tools for free:
















Find domains and subdomains related by specific terms in their hostnames.
Learn more
Get data feeds of new registered domains along with their WHOIS data generated in real time.
Learn more
Get data feeds of SSL certificates along with their well parsed fields in real time. Accurate. Up-to-date.
Learn more
Monitor exact matches, variations and common misspellings of your brand name & trademarks.
Learn more
Find out which domains were added or dropped by registrants, with given search criteria.
Learn more
Get insights for the new business registered on the web.
Learn more
Get the most relevant data to be ahead of emerging security threats.
Learn more
Find out the exact physical location of any IP address, email or domain name.
Learn more
Get vendor information, detect virtual machines, manufacturer, location, read the information encoded in the MAC address.
Learn more
Easily identify malicious resources and retrieve their threat information.
Learn more
We provide complete and relevant domain WHOIS data which can be customized and easily integrated as per your business needs.
Learn more
Easily detect all typosquatting domain names as soon as they are registered each day.
Learn more
Get the most comprehensive database of SSL (Secure Sockets Layer) Certificates.
Learn more
Assess the domain's or IP addresses reputation and risk profile with a simple score based on a comprehensive...
Learn more
Get well-parsed and normalized WHOIS information for any domain name, IP address or email.
Learn more
Enhance your domain research toolkit by our enterprise-grade web-based solution that helps you in searching...
Learn more
Give the list of domain names tied to the specified DNS records via API calls with outputs in JSON and XML.
Learn more
Get the most comprehensive database of registered MAC address blocks, also referred to as OUIs (Organizationally Unique Identifiers).
Learn more