agentic-dns
agentic-dns
Agentic AIシステム(Claude、Cursor、Windsurf、Hermes Agent、Copilot)向けのPOSIXネイティブDNSルーティング、診断、テレメトリエンジン。
agentic-dns は、純粋なBashとRustで書かれた、依存関係ゼロの超高速DNSオーケストレーションエンジンです。開発者ワークステーション、ホームラボ、Kubernetesノード、自律型AIエージェント向けに設計されており、多層DNSチェーン(pihole -> coredns -> dnsdist -> unbound -> dnscrypt -> VPN DNS)を管理し、ライブのホップバイホップパケットトレース(trace)を実行し、障害が発生したアップストリームを自動的にバイパスし(bypass)、AIコーディングアシスタント用のstdio Model Context Protocol(MCP JSON-RPC)サーバーを公開します。
クイックインストールオプション
オプション1: ワンライナースクリプト(Linux / macOS)
curl -fsSL https://raw.githubusercontent.com/dedsecorg/agentic-dns/main/install.sh | bashオプション2: Dockerコンテナ(GHCR)
docker run -d --net=host ghcr.io/dedsecorg/agentic-dns:latestオプション3: Node.js / npxパッケージ
npx agentic-dns statusRelated MCP server: dns-mcp
60秒AIエージェントオンボーディング
agentic-dns は、AIエージェント向けにすぐ使えるMCP JSON-RPCプロトコルサポートを提供します。
1. Claude Code
claude mcp add agentic-dns agentic-dns mcp2. Cursor / Windsurf / Copilot
プロジェクトまたはユーザーの .mcp.json ファイルに追加します:
{
"mcpServers": {
"agentic-dns": {
"command": "agentic-dns",
"args": [
"mcp"
],
"env": {
"PIHOLE_HOST": "127.0.0.1",
"AGENTIC_DNS_API_PORT": "8099"
}
}
}
}3. Hermes Agent
hermes mcp add agentic-dns agentic-dns mcp を実行します。
AIアシスタントプロンプトの例
接続すると、AIコーディングアシスタントに次のように依頼できます:
"チェーン内のローカルDNSリゾルバーがダウンまたは異常でないか確認して。"
"ループバックおよびアウトバウンドインターフェースをまたいで github.com のパケット経路をトレースして。"
"stubby をバイパスして、DNSトラフィックを unbound 経由でルーティングして。"
"SQLite から最近のPi-holeクエリ統計を表示して。"
主な機能
外部依存関係ゼロ: コアPOSIX Bash実行 + 標準Unixツール(
dig、ss、tcpdump、nft、sqlite3、socat、jq)。アイドル時のRAM使用量ゼロ。ネイティブModel Context Protocol(MCP):
dns_status、dns_query、dns_trace、dns_health、dns_routes、dns_pihole_log、dns_bypassをAIエージェントに公開します。ライブサービス間トレーシング(
trace): ループバックおよびネットワークインターフェース全体でバックグラウンドのtcpdumpキャプチャを実行し、パケットホップの進行とレイテンシボトルネックを可視化します。自動フェイルオーバー(
bypass):dnsdist設定を動的に書き換え、ルーティングデーモンをリロードして、障害が発生したリゾルバーをミリ秒単位でバイパスします。暗号化DNSインターセプト(
enforce): 非破壊的なnftablesルールを適用して、Private DNS(DoTポート853)をリダイレクトし、Google DoQ(UDP/443)をドロップします。高性能Rustサーバー(
agentic-dns-server): DoT/DoHプロキシ処理とRESTテレメトリ用のserver/クレートを含みます。
6層アーキテクチャパイプライン
[Client / Mobile Device]
|
v
pihole (:53) <- Ad blocking & FTL SQLite telemetry
|
v
coredns (:5352) <- Split-horizon mesh zone routing (Tailscale / Nebula)
|
v
dnsdist (:5330) <- Dynamic load balancing & bypass failover policy
|
+--------+--------+
| |
v v
unbound (:5335) dnscrypt-proxy (:5354) / stubby (:5360)
| |
v v
[VPN / Upstream] [DoH / DoT Cloud Upstreams]CLIコマンドクイックリファレンス
# View active DNS chain status and listening ports
agentic-dns status
# Execute live inter-service packet trace
agentic-dns trace google.com
# Failover failing service to backup
agentic-dns bypass stubby unbound
# Check health of all DNS listeners
agentic-dns health
# View Pi-hole query logs
agentic-dns pihole-log
# Start REST API server on port 8099
agentic-dns api
# Start stdio MCP JSON-RPC Server
agentic-dns mcpライセンス
MIT License - 無料かつオープンソース。
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
This server cannot be installed
Maintenance
Related MCP Connectors
- SpanlyOAuthcom.spanly
MCP observability. Query live traffic, errors, duration, and alerts from your AI agent.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Create and manage Mermaid.js flowcharts and diagrams with AI agents via MCP.
Let AI agents query data and act across all your business apps via MCP.
Related MCP Servers
- AlicenseAqualityCmaintenanceConnects AI assistants to Pi-hole network-wide ad blocker, enabling monitoring of DNS traffic statistics, controlling blocking settings, managing whitelist/blacklist domains, viewing query logs, and performing maintenance tasks through natural language.16958MIT
- FlicenseNot gradedqualityBmaintenanceReal-time DNS security analysis for AI assistants via MCP. Enables DNSSEC chain validation, email authentication posture, and registration intelligence directly from chat sessions.1-
- AlicenseNot gradedqualityBmaintenanceProvides network operations tools such as ping, traceroute, DNS queries, and nmap scans via MCP, enabling network diagnostics and monitoring through natural language.13MIT
- 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-
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/dedsecorg/agentic-dns'
If you have feedback or need assistance with the MCP directory API, please join our Discord server