MCP DNS
MCP DNS
DNS 쿼리 기능을 제공하는 모델 컨텍스트 프로토콜(MCP) 도구입니다. 이 도구를 사용하면 표준화된 MCP 인터페이스를 통해 다양한 레코드 유형에 대한 DNS 조회를 수행할 수 있습니다.
특징
다양한 레코드 유형(A, AAAA, MX, TXT, CNAME, NS 등)에 대한 DNS 쿼리
간단하고 표준화된 MCP 인터페이스
유형 안전을 위해 TypeScript로 구축됨
Node.js 네이티브 DNS 모듈을 사용합니다.
Related MCP server: DNS MCP Server
용법
이 도구는 두 개의 매개변수를 허용하는 dns-query 명령을 제공합니다.
name: 쿼리할 도메인 이름type: DNS 레코드 유형(A, AAAA, MX, TXT, CNAME, NS 등)
개발
필수 조건
Node.js(최신 LTS 버전 권장)
엔피엠
설정
저장소를 복제합니다.
지엑스피1
종속성 설치:
npm install프로젝트를 빌드하세요:
npm run build프로젝트 구조
src/- 소스 코드 디렉토리server.ts- 메인 서버 구현
build/- 컴파일된 JavaScript 출력package.json- 프로젝트 구성 및 종속성
종속성
@modelcontextprotocol/sdk - 서버 구현을 위한 MCP SDK
zod - TypeScript 우선 스키마 검증
TypeScript - 유형 안전성 및 최신 JavaScript 기능
기타 링크
개인 블로그: 첫 번째 MCP 서버 구축: DNS 쿼리 도구
Available Tools
1 tooldns-queryC
Make a DNS query for a given name and type
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The domain name to query | |
| type | Yes | The DNS record type (A, AAAA, MX, TXT, CNAME, NS, etc.) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It mentions making a DNS query but fails to disclose critical traits such as network dependencies, potential latency, error handling, authentication needs, or rate limits. The description is minimal and does not compensate for the absence of annotations, leaving significant gaps in understanding the tool's behavior.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is extremely concise, consisting of a single sentence that directly states the tool's function without any extraneous information. It is front-loaded and efficiently communicates the core purpose, making it easy to parse and understand quickly. Every word earns its place, adhering to best practices for brevity.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's complexity (a network query with potential dependencies) and the absence of both annotations and an output schema, the description is insufficiently complete. It does not explain what the query returns, error conditions, or operational constraints. For a tool that interacts with external systems, more context is needed to ensure reliable use by an AI agent.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema has 100% description coverage, clearly documenting both parameters ('name' and 'type') with their purposes. The description adds no additional semantic meaning beyond what the schema provides, as it only restates the parameters generically. According to the rules, with high schema coverage, the baseline score is 3, which is appropriate here since the description does not enhance parameter understanding.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('Make a DNS query') and the target ('for a given name and type'), which is specific and unambiguous. It distinguishes the tool's function well, though without sibling tools, differentiation isn't applicable. The purpose is not vague or tautological, but it could be slightly more detailed about the scope (e.g., network query vs. local lookup).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives, prerequisites, or context for invocation. It simply states what the tool does without indicating scenarios, limitations, or comparisons to other methods. This lack of usage context leaves the agent without direction on optimal application.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
1 tool update
- First observed
dns-query
TDQS
Scored across 1 tool
With only one tool, there is no possibility of confusion or overlap between tools. The tool's purpose is clearly defined as making DNS queries, leaving no ambiguity for an agent to misselect among alternatives.
A single tool inherently has perfect naming consistency, as there are no other tools to compare against. The tool name 'dns-query' follows a clear and descriptive pattern, using a hyphen to separate domain and action.
A single tool is generally too few for a DNS server's scope, which typically involves operations like querying, resolving, or managing DNS records. This minimal set feels thin and may limit functionality for agents needing more comprehensive DNS interactions.
The tool surface is severely incomplete for a DNS domain. While 'dns-query' covers basic lookups, there are obvious gaps such as reverse DNS lookups, record management (e.g., adding or deleting records), or handling different DNS server configurations, which could cause agent failures in broader DNS-related tasks.
Maintenance
Related MCP Connectors
DNS MCP — DNS and network lookup tools
Look up DNS information for any domain to troubleshoot issues and gather insights. Get fast, relia…
MCP server for DNSimple — domains, DNS zone records, availability, pricing and contacts.
Remote MCP server: 19 domain-hygiene and email-auth tools (DNS, SPF, DMARC, DKIM, TLS).
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that provides comprehensive domain analysis capabilities including WHOIS lookups, DNS record queries, and DNS health checking.14MIT
- 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.416 npm2MIT
- AlicenseAqualityDmaintenanceA Model Context Protocol (MCP) server that provides comprehensive domain name research tools, including RDAP, WHOIS, and DNS query functionality.12Apache 2.0
- FlicenseAqualityDmaintenanceProvides DNS lookup and email authentication diagnostic tools (SPF, DKIM, DMARC, MX, etc.) for use with MCP-compatible clients. Enables natural language queries to check DNS records and email health.7-