
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 分