MX Lookup

Use this free tool to retrieve the MX records of any domain.

Retrieve more DNS record types

Create your account and perform your first 500 DNS lookup queries covering more records for free.

Start DNS Lookup API Trial
500 亿+域名和子域名
1160 亿+DNS 记录
52,000+满意客户
15 年+数据抓取经验

WhoisXML API Current DNS Product Line

Gain access to other types of DNS records. Get deep and accurate DNS data from our market-leading Internet infrastructure intelligence repositories.

  • DNS数据库下载

    DNS数据库下载

    Access a leading repository of historical DNS data, featuring the highest number of unique FQDNs across diverse DNS record types.

    Explore Database
  • DNS查询API

    DNS查询API

    Integrate our DNS Lookup API into existing systems and workflows to add essential context like IP addresses and MX, NS, and TXT records.

    Explore API
  • DNS查询

    DNS查询

    Instantly view a domain's DNS configuration—including IP address and MX, NS, and TXT records—using our intuitive web tool.

    Explore Lookup
  • DNS 大事记 API

    DNS 大事记 API

    Retrieve historical A/AAAA records for any FQDN with a forward search or list associated FQDNs for an IP with a reverse search using our API.

    Explore API
  • DNS 大事记查询

    DNS 大事记查询

    Find all A/AAAA records historically linked to an FQDN or discover FQDNs that resolved to an IP address using our web tool.

    Explore Lookup

What can I use the MX lookup tool for?

  • Troubleshooting email delivery issues

    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.

  • Checking for redundancy

    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.

  • Verifying a new email provider

    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.

DNS查询API | WhoisXML API

获得 500 个免费 API 积分。无需使用信用卡

点击开始

Frequently Asked Questions

What is a DNS MX record?

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.

Why do you need an MX record?

An MX record is required so the sending email server knows where to deliver a message for your domain.

Can a domain have more than one MX record?

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).

How does an MX record work?

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.

What are DNS MX lookups used for?

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.

Who controls my MX record?

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.

How long does it take for a new MX record to propagate?

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.

How can I look up my MX and other DNS records?

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:

信任客户

您可能对此感兴趣

域名查询服务
域名查询服务

我们基于网络的企业级解决方案可帮助用户搜索和管理域名,强化域名研究工具包...

了解更多
品牌预警
品牌预警

监控品牌名称和商标的精确匹配、变体和常见拼写错误。

了解更多
反向 IP
反向 IP

查找主机名和 IP 之间的所有权关系。

了解更多
电子邮件验证
电子邮件验证

保证任意电子邮件地址的有效性和质量。

了解更多
误植域名数据源
误植域名数据源

一经注册,可轻松检测出所有误植域名。

了解更多
反向WHOIS
反向WHOIS

发现不同域名、个人和机构之间的关联性。

了解更多
威胁情报API
威胁情报API

轻松识别恶意资源并检索其威胁信息。

了解更多
反向 DNS
反向 DNS

通过以 JSON 和 XML 格式输出的 API 调用,提供与指定 DNS 记录绑定的域名列表。

了解更多
注册人提醒
注册人提醒

根据给定的搜索条件,查找注册人添加或删除的域名。

了解更多
反向MX
反向MX

显示使用同一邮件服务器的所有域名。

了解更多
子域名查询
子域名查询

发现与目标域名相关的子域名。

了解更多
域名可用性
域名可用性

市场上最准确的域名可用性检查工具。

了解更多
SSL证书数据库
SSL证书数据库

获取最全面的 SSL(安全套接字层)证书数据库。

了解更多
IP 地理定位
IP 地理定位

查找任何 IP 地址、电子邮件或域名的准确物理位置。

了解更多
域名和子域名发现API
域名和子域名发现API

根据主机名中的特定术语查找相关域名和子域名。

了解更多
实时SSL证书流
实时SSL证书流

实时获取 SSL 证书的数据源及其解析良好的字段。准确、最新。

了解更多
反向NS
反向NS

查找使用相同名称服务器的所有域名。

了解更多
域名信誉API
域名信誉API

通过基于综合评价的简单评分,评估域名或 IP 地址的声誉和风险状况。

了解更多
IP 网块
IP 网块

查找特定IP 属于的IP 范围。

了解更多
WHOIS数据库下载
WHOIS数据库下载

我们提供完整、相关的域名 WHOIS 数据,并根据客户的业务需求进行定制和轻松整合。

了解更多
域名注册流
域名注册流

获取实时生成的新注册域名及其 WHOIS 数据。

了解更多
MAC地址供应商数据库
MAC地址供应商数据库

获取最全面的注册 MAC 地址块数据库,也称为 OUI(机构唯一标识符)。

了解更多
SSL证书API
SSL证书API

通过 API 调用检查域名的 SSL 证书链。

了解更多
WHOIS查询
WHOIS查询

获取任何域名、IP 地址或电子邮件的经过良好解析和规范化的 WHOIS 信息。

了解更多
截图服务
截图服务

立即获取任何网页的截图。

了解更多
新建网站数据源
新建网站数据源

深入了解网络上注册的新企业。

了解更多
MAC地址API
MAC地址API

获取供应商信息,检测虚拟机、制造商、位置,读取 MAC 地址中的编码信息。

了解更多
威胁情报数据源
威胁情报数据源

获取最相关的数据,领先应对新出现的安全威胁。

了解更多
DNS 查询服务
DNS 查询服务

确定托管某个域名或网站的主体

了解更多
网站分类
网站分类

对给定域名进行网站分类。

了解更多
新注册的域名
新注册的域名

跟踪线上最佳商机。

了解更多