Overview
What is Mcp Server Dns?
A MCP server that provides DNS lookups (A, AAAA, MX, TXT, NS, CNAME, SOA, SRV, PTR), reverse DNS, WHOIS queries, and domain checks. It uses Node.js built-in DNS module and public WHOIS servers, requiring no API keys or configuration. Designed for developers and AI assistants.
How to use Mcp Server Dns?
Run npx mcp-server-dns or configure as an MCP server in Claude Desktop, Cursor, VS Code, or any MCP client using the provided JSON configuration. The server exposes five tools: dns_lookup, reverse_dns, resolve_all, check_nameservers, and whois.
Key features of Mcp Server Dns
- DNS lookups for A, AAAA, MX, TXT, NS, CNAME, SOA, SRV, PTR records.
- Reverse DNS (PTR) lookup on IP addresses.
- Resolve all record types with a single call using
resolve_all. - WHOIS queries with IANA referral following.
- Nameserver (NS) record checks for domains.
- Zero configuration – no API keys or accounts needed.
Use cases of Mcp Server Dns
- Debug email delivery by checking MX records for a domain.
- Investigate a suspicious URL by looking up its WHOIS information.
- Verify domain setup by querying nameserver and other DNS records.
- Perform reverse DNS lookups to map IP addresses to hostnames.
- Quickly resolve multiple record types in one request during development.
FAQ from Mcp Server Dns
What records can I look up?
You can look up A, AAAA, MX, TXT, NS, CNAME, SOA, SRV, and PTR records using the dns_lookup tool, or resolve all common records at