DNS MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@DNS MCP Serverlook up A records for example.com"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
DNS MCP Server
A Python MCP server providing comprehensive DNS lookup capabilities.
Features
dns_lookup: Query any DNS record type (A, AAAA, MX, TXT, NS, SOA, CNAME, SRV, CAA, DNSSEC records)
dns_reverse: Reverse DNS lookup (PTR) for IPv4/IPv6 addresses
dns_bulk: Query multiple domains in one call
dns_reverse_bulk: Reverse lookup for multiple IPs
Related MCP server: BasicSec MCP Server
Quick Start
docker compose up -dThe server will be available at https://localhost:8088/mcp.
Self-signed certificates are automatically generated on first startup.
Configuration
Environment variables:
Variable | Default | Description |
|
| External HTTPS port |
|
| Domain for certificate generation |
|
| Server bind address |
|
| Server port |
|
| Query timeout in seconds |
|
| Max retry attempts |
| (system) | Default DNS resolver IP |
|
| Logging level |
Claude Desktop Integration
To use this server with Claude Desktop, you'll need mcp-proxy to bridge the HTTP transport.
1. Install mcp-proxy
pip install mcp-proxy
# or
uv tool install mcp-proxy2. Start the server
docker compose up -d3. Configure Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"dns-lookup": {
"command": "mcp-proxy",
"args": [
"--transport=streamablehttp",
"--no-verify-ssl",
"https://localhost:8088/mcp"
]
}
}
}Note: Use the full path to mcp-proxy if Claude shows ENOENT errors (run
which mcp-proxyto find it).
4. Restart Claude Desktop
The DNS tools will now be available in Claude Desktop.
Available Tools
Tool | Description |
| Query DNS records (A, AAAA, MX, TXT, NS, etc.) |
| Reverse DNS lookup for an IP address |
| Query multiple domains at once |
| Reverse lookup for multiple IPs |
Development
Setup
python3 -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"Run tests
pytestRun locally (stdio mode)
dns-mcp-serverRun locally (HTTP mode)
dns-mcp-server-httpLicense
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables comprehensive DNS operations including lookups for various record types, reverse DNS queries, batch processing, and DNS resolution tracing. Supports multiple DNS servers with configurable caching and robust error handling.4222MIT
- Alicense-qualityDmaintenanceEnables DNS and email security analysis through passive and active scanning capabilities. Provides comprehensive domain security checks including SPF, DMARC, DNSSEC validation, MX record analysis, and SMTP connectivity testing.MIT
- AlicenseAqualityBmaintenanceProvides comprehensive tools for real-time DNS queries across 53 record types, global propagation checks, and SSL certificate analysis. It also enables domain security scans for SPF/DKIM/DMARC configurations and HTTP uptime monitoring.85121Apache 2.0
- Flicense-qualityDmaintenanceA comprehensive DNS query server that enables querying all types of DNS records, including A, AAAA, MX, TXT, NS, CNAME, SOA, PTR, SRV, CAA, and DNSSEC checks, as well as advanced tools like WHOIS-style lookup and DNS delegation tracing.1
Related MCP Connectors
Look up DNS information for any domain to troubleshoot issues and gather insights. Get fast, relia…
DNS lookups, health reports, SSL certs, security scans, GEO scoring, uptime checks
Domain & company intel for AI agents: RDAP, DNS, email deliverability, tech stack. No API keys.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/beauchompers/dns-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server