DNS Lookup Tool|DNS 解析查询

DNS 解析查询 | DNS Lookup Tool

DNS 解析查询 DNS Lookup Tool

输入域名,选择记录类型(A / AAAA / CNAME / MX / NS / TXT …),即可通过 DNS over HTTPS 查询解析结果。
Enter a domain and record type to query DNS records via DNS over HTTPS (DoH) for quick troubleshooting and verification.

1. 输入参数 · Lookup Parameters
仅填写域名即可(无需 http/https、无需路径)。若你输入了 URL,本工具会自动尝试提取域名。
Only the hostname is needed (no scheme/path). If you paste a full URL, the tool will try to extract the domain.
选择记录类型: A/AAAA 用于网站访问;CNAME 用于别名跳转;MX/NS 常用于邮件和域名托管排错。
Pick type: A/AAAA for web access, CNAME for aliasing, MX/NS for email/hosting diagnostics.
提示: “ANY” 在部分 DNS/DoH 实现中可能受限,返回结果不一定包含所有类型记录。
网络不稳或 DNS 端点偶发拥塞时,适当增加超时(例如 10–15 秒)并启用 1–2 次重试更稳。
If your network is unstable, increase timeout (e.g., 10–15s) and enable 1–2 retries for better reliability.
3. 使用说明 · Notes
  • 这是什么? · What is this tool?
    这是一个基于 DNS over HTTPS (DoH) 的 DNS 查询小工具,你可以像 “dig / nslookup” 一样查看解析结果,但直接在浏览器里完成。
    This is a browser-based DNS lookup tool powered by DoH. It works like dig/nslookup, but runs directly in your browser.
  • 常见用途 · Common use cases
    ✅ 验证域名是否正确指向服务器(A/AAAA)
    ✅ 检查是否存在别名链(CNAME → A/AAAA)
    ✅ 排查邮件收发异常(MX/TXT/SPF/DKIM/DMARC 通常在 TXT)
    ✅ 查看域名托管与权威服务器(NS/SOA)
    ✅ 排查证书申请问题(CAA)
    Verify A/AAAA mappings, inspect CNAME chains, debug email (MX/TXT), check NS/SOA, or troubleshoot CAA for certificate issuance.
  • CNAME 追踪 · Follow CNAME
    勾选“自动追踪 CNAME”后:当你查 A/AAAA 时,如果返回的是 CNAME,本工具会自动继续查询目标域名的 A/AAAA,并把链路提示出来。
    When enabled, if the result is a CNAME while querying A/AAAA, the tool will automatically continue to query the target and show the chain.
  • PTR 反向解析 · PTR (Reverse DNS)
    PTR 典型输入是 “反向域名”。例如 IPv4:1.2.3.4 的反向是 4.3.2.1.in-addr.arpa。IPv6 则是把每个十六进制位倒序再加 ip6.arpa(较长)。
    For PTR, you usually query the reversed zone name (in-addr.arpa for IPv4; ip6.arpa for IPv6 nibble format).
  • 为什么结果与本机不一致? · Why results may differ from my computer?
    1) 你电脑/路由器可能走的是运营商 DNS,而本工具走 Cloudflare/Google。不同解析器缓存、策略、甚至地域都会影响结果。
    2) DNS 有 TTL 缓存:你刚改解析,旧结果可能仍在缓存里(包括浏览器/系统/解析器)。
    3) CDN / GeoDNS:同一域名可能对不同地区返回不同 IP。
    Different resolvers, caching (TTL), and GeoDNS/CDN behaviors can produce different answers.
  • 排错小技巧 · Troubleshooting tips
    • 先查 NS 看域名是不是在正确的托管商;再查 SOA 确认权威区信息。
    • 网站打不开:先查 A/AAAA,再查是否有 CNAME 链过长或指错。
    • 邮件问题:查 MX + 相关 TXT(SPF/DKIM/DMARC 常在 TXT)。
    Start with NS/SOA for authority, A/AAAA + CNAME for web, MX + TXT for email.

说明:本工具的 DNS 查询来自公共 DoH 服务(Cloudflare/Google),属于“外部视角”的解析结果;并不等同于你的服务器内部递归 DNS 或权威 DNS 的原始响应。结果用于学习与排查参考。
Note: Results come from public DoH resolvers (Cloudflare/Google), representing an “external view”. They may differ from your internal/authoritative DNS responses. Use for troubleshooting and reference.