Skip to main content
Glama

dns-mcp

npm mcp license

MCP server: resolve DNS records for a hostname. No external deps — uses Node's built-in dns/promises resolver, which respects the host's nameserver configuration.

Tool

resolve

{ "hostname": "example.com", "type": "MX" }

→

{
  "hostname": "example.com",
  "type": "MX",
  "records": [{ "priority": 0, "exchange": "." }]
}

Supported types: A, AAAA, MX, TXT, CNAME, NS, SOA, SRV, PTR, ANY. Default is A.

Related MCP server: DNS MCP Server

Configure

{ "mcpServers": { "dns": { "command": "npx", "args": ["-y", "@mukundakatta/dns-mcp"] } } }

License

MIT.

Repository Health

This repository includes a dependency-free health check for core documentation, metadata, and CI wiring. Run it locally before publishing changes:

python3 scripts/check_repository_health.py

The same check runs in GitHub Actions on pushes and pull requests.

Available Tools

1 tool
resolveC

Resolve DNS records for a hostname. type: A, AAAA, MX, TXT, CNAME, NS, SOA, SRV, PTR, or ANY.

Inputs: hostname (required), type.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 1 tool

    Disambiguation5/5

    With only one tool, there is no possibility of confusion or overlap.

    Naming Consistency5/5

    The single tool name 'resolve' is clear and descriptive, and there is no inconsistency.

    Tool Count5/5

    One tool for DNS resolution is well-scoped and appropriate for the server's purpose.

    Completeness5/5

    The tool covers all major DNS record types (A, AAAA, MX, TXT, CNAME, NS, SOA, SRV, PTR, ANY), providing comprehensive resolution capabilities.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Enables 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.
      4
      9 npm
      2
      MIT
    • F
      license
      Not graded
      quality
      C
      maintenance
      A 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
      -
    • A
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables DNS record lookups for types like A, MX, TXT, and CNAME, bulk queries of all major record types, and reverse DNS resolution from IP addresses to hostnames.
      70 npm
      MIT