Sand AISand AI MAGI-2MAGI-2 现已上线 SandBase:支持原生音频的 1080p 视频立即试用

Check every DNS record of a domain

免费开发者工具

A, AAAA, CNAME, MX, NS, TXT, CAA and SOA records in one lookup, with TTLs and a quick read of SPF and DMARC.

  • 8 record types
  • Cloudflare 1.1.1.1
  • SPF and DMARC check
  • No sign-up

Sample lookup

Record types

  • A and AAAA

    The IPv4 and IPv6 addresses a name points to. Check these after moving a site to a new host.

  • CNAME

    An alias to another name, common for www and for services such as Vercel, Shopify or a CDN.

  • MX

    The mail servers that receive email for the domain, lowest priority number first.

  • NS and SOA

    The name servers in charge of the zone and its serial number, which changes on every edit.

  • TXT

    SPF, DKIM and DMARC email rules, and verification codes for Google, Microsoft and others.

  • CAA

    Which certificate authorities may issue TLS certificates for the domain.

See who owns the domain

Build on SandBase APIs

The same data is a SandBase API: one key, billed per call, no subscription. Call it from your own scripts, dashboards or AI agents.

This page asks Cloudflare's public DNS over HTTPS resolver, which you can call directly. For domain research beyond DNS (traffic, backlinks, rankings, WHOIS), SandBase has data APIs on one key.

cURL

curl -H "accept: application/dns-json" "https://cloudflare-dns.com/dns-query?name=github.com&type=MX"

常见问题

什么是 DNS 查询?

向域名系统查询某个名称存储的记录:网站托管在哪(A、AAAA、CNAME),邮件发往哪里(MX),谁为该域名提供响应(NS),以及诸如 SPF 之类的文本规则(TXT)。

为什么我的新 DNS 记录还没显示?

解析器会根据各自的 TTL 缓存每个响应。在旧记录的 TTL 到期前,这个解析器和其他解析器仍可能返回旧值。这里的查询结果也会缓存五分钟。

如何检查 MX 记录?

查询域名并查看 MX 部分:每一行都是一台邮件服务器及其优先级。数字越小越先尝试。没有 MX 记录就表示该域名不能接收邮件。

如何检查 SPF 和 DMARC?

SPF 是域名上的 TXT 记录,开头为 v=spf1。DMARC 是 _dmarc.example.com 上的 TXT 记录,开头为 v=DMARC1:查询 _dmarc.yourdomain.com 即可查看。

什么是 CAA 记录?

它列出允许为该域名签发 TLS 证书的证书颁发机构。没有 CAA 记录时,任何机构都可以签发。

这里使用哪个解析器?

通过 DNS over HTTPS 使用 Cloudflare 的公共解析器(1.1.1.1)。它会从缓存中应答,或向域名的名称服务器查询。

这个 DNS 查询是免费的吗?

是的,无需注册。每个网络每小时都可以执行大量查询。