
Dns
io.github.ofershap由 GitHub 账号 ofershap 发布v1.0.1更新于 Oct 24, 2026
MCP server for DNS lookups, reverse DNS, WHOIS, and domain checks — zero auth, zero config
概览
让助手对域名和 IP 地址执行 DNS 查询、反向 DNS、名称服务器检查和 WHOIS 查询。
- 可以做什么
- 提供多个 DNS 记录查询工具:dns_lookup 支持 A、AAAA、MX、TXT、NS、CNAME、SOA、SRV 和 PTR 记录;reverse_dns 对 IP 地址做 PTR 反向查询;resolve_all 一次返回 A、AAAA、MX、TXT、NS 和 CNAME;check_nameservers 返回 NS 记录;whois 查询注册信息,并沿 IANA 转介到注册商。它使用 Node.js 内置 DNS 解析和公共 WHOIS 服务器。
- 适用场景
- 适合开发过程中需要查看 DNS 记录或域名归属的场景,例如通过 MX 记录排查邮件投递、检查新域名的名称服务器,或用 WHOIS 调查可疑网址。
- 运行要求
- 以 npm 包(mcp-server-dns)形式通过 stdio 在本地运行,通常用 npx 启动,因此需要 Node.js。未声明任何账号、API 密钥、环境变量或请求头。DNS 和 WHOIS 查询需要网络访问。
安装
README
mcp-server-dns
[npm version] [npm downloads] [CI] [TypeScript] [License: MIT]
DNS lookups, reverse DNS, WHOIS, and domain checks from your AI assistant. No API keys, no config. Powered by Node.js built-in DNS.
Works with Claude Desktop, Cursor, VS Code Copilot, and any MCP client. Uses Node.js native
dnsmodule, so there's nothing to sign up for.
[MCP server for DNS lookups, WHOIS queries, and domain checks]
Demo built with remotion-readme-kit
Why
DNS and WHOIS lookups come up more often than you'd think during development. Debugging email delivery? You need MX records. Setting up a new domain? Check the nameservers. Investigating a suspicious URL? WHOIS tells you who owns it. The existing MCP options for this require paid API keys (like WhoisXML API). This server uses Node.js built-in DNS resolution and public WHOIS servers, so it works out of the box with zero accounts or credentials.
Tools
Quick Start
Cursor
Add to .cursor/mcp.json:
Claude Desktop
Add to claude_desktop_config.json:
VS Code
Add to user settings or .vscode/mcp.json:
Examples
- "What are the DNS records for example.com?"
- "Do a reverse DNS lookup on 8.8.8.8"
- "Show me the WHOIS info for github.com"
- "What nameservers does cloudflare.com use?"
- "Resolve all record types for google.com"
- "Check the MX records for my-company.com"
Development
See also
More MCP servers and developer tools on my portfolio.
Author
README built with README Builder
License
MIT © 2026 Ofer Shapira
来源:README.md,提交 f557553
工具
0版本历史
1- v1.0.1最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分