agentic-dns
Health Uyari
- License — License: MIT
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 8 GitHub stars
Code Gecti
- Code scan — Scanned 12 files during light audit, no dangerous patterns found
Permissions Gecti
- Permissions — No dangerous permissions requested
Bu listing icin henuz AI raporu yok.
POSIX-Native DNS Routing, Packet Tracing, & Telemetry Engine for Agentic AI. Multi-tier DNS chain orchestration with stdio MCP server.
agentic-dns
POSIX-Native DNS Routing, Diagnostic, and Telemetry Engine for Agentic AI Systems (Claude, Cursor, Windsurf, Hermes Agent, Copilot).
agentic-dns is a zero-dependency, ultra-fast DNS orchestration engine written in pure Bash and Rust. Designed for developer workstations, homelabs, Kubernetes nodes, and autonomous AI agents, it manages multi-tier DNS chains (pihole -> coredns -> dnsdist -> unbound -> dnscrypt -> VPN DNS), executes live hop-by-hop packet traces (trace), auto-bypasses failing upstreams (bypass), and exposes a stdio Model Context Protocol (MCP JSON-RPC) server for AI coding assistants.
Quick Installation Options
Option 1: 1-Line Script (Linux / macOS)
curl -fsSL https://raw.githubusercontent.com/dedsecorg/agentic-dns/main/install.sh | bash
Option 2: Docker Container (GHCR)
docker run -d --net=host ghcr.io/dedsecorg/agentic-dns:latest
Option 3: Node.js / npx Package
npx agentic-dns status
60-Second AI Agent Onboarding
agentic-dns provides out-of-the-box MCP JSON-RPC protocol support for AI agents.
1. Claude Code
claude mcp add agentic-dns agentic-dns mcp
2. Cursor / Windsurf / Copilot
Add to your project or user .mcp.json file:
{
"mcpServers": {
"agentic-dns": {
"command": "agentic-dns",
"args": [
"mcp"
],
"env": {
"PIHOLE_HOST": "127.0.0.1",
"AGENTIC_DNS_API_PORT": "8099"
}
}
}
}
3. Hermes Agent
Run hermes mcp add agentic-dns agentic-dns mcp.
Example AI Assistant Prompts
Once connected, ask your AI coding assistant:
- "Check if any local DNS resolvers in the chain are down or unhealthy."
- "Trace the packet path for github.com across loopback and outbound interfaces."
- "Bypass stubby and route DNS traffic through unbound."
- "Show recent Pi-hole query statistics from SQLite."
Key Features
- Zero External Dependencies: Core POSIX Bash execution + standard Unix tools (
dig,ss,tcpdump,nft,sqlite3,socat,jq). Zero idle RAM usage. - Native Model Context Protocol (MCP): Exposes
dns_status,dns_query,dns_trace,dns_health,dns_routes,dns_pihole_log, anddns_bypassto AI agents. - Live Inter-Service Tracing (
trace): Runs backgroundtcpdumpcaptures across loopback and network interfaces to visualize packet hop progression and latency bottlenecks. - Automated Failover (
bypass): Dynamically rewritesdnsdistconfiguration and reloads routing daemons to bypass failing resolvers in milliseconds. - Encrypted DNS Interception (
enforce): Applies non-destructivenftablesrules to redirect Private DNS (DoT port 853) and drop Google DoQ (UDP/443). - High-Performance Rust Server (
agentic-dns-server): Includesserver/crate for DoT/DoH proxy handling and REST telemetry.
6-Tier Architecture Pipeline
[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 Command Quick Reference
# 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
License
MIT License - Free and Open Source.
Yorumlar (0)
Yorum birakmak icin giris yap.
Yorum birakSonuc bulunamadi