bind9-aiops
Click on "Deploy 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., "@bind9-aiops validate my example.org zone config and show its current status"
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.
BIND 9 AIops
Governed BIND 9 DNS operations with 23 MCP tools and corresponding CLI commands. It executes rndc, named-checkconf and dig as fixed argument lists without a shell. Every call is audited and budgeted by the bundled governance harness.
What it checks
Named service and zone status from
rndc.Configuration and loaded-zone validation with
named-checkconf -z.DNSSEC validation mode.
Zone DNSSEC signing, managed-key and serve-stale status; running zone configuration where enabled.
Recursive fetch-limit hits, DNSSEC trust anchors, DNS TCP timeouts and per-zone signing progress.
DNS queries with their actual DNS response code.
Queries against a selected secondary server.
Guarded secondary retransfer and single-zone NOTIFY resend.
Primary and secondary SOA serial comparison. A failed or unparseable query returns
null, never a fabricated zero or match.bind_diagnose_zonekeeps individual probe failures visible.
Related MCP server: technitium-mcp-secure
Setup from source
Requires Python 3.11+, uv, and BIND 9 command utilities on the operator host. Run uv sync --dev, uv run bind9-aiops init, then uv run bind9-aiops doctor. A manual ~/.bind9-aiops/config.yaml can specify paths and a DNS server:
targets:
- name: local
server: 127.0.0.1
dns_port: 53
rndc_config: /etc/bind/rndc.conf
named_config: /etc/bind/named.conf
timeout: 10Use uv run bind9-aiops diagnose example.org or uv run bind9-aiops compare-soa example.org 192.0.2.2. The MCP entry point is uv run bind9-aiops-mcp. The process account needs access to its rndc key file and BIND config, but no elevated shell is given to the agent.
Scope and verification
reload-zone, refresh-zone, flush-name, retransfer-zone and notify-zone support dry-run and two CLI confirmations. RNDC command acceptance does not prove a queued zone reload or transfer completed, so these writes report outcomeUnknown; a lost command response does too. No safe undo exists for a cache flush, retransfer, NOTIFY delivery or externally edited zone file. Zone-file editing, DNSSEC key changes and global service restarts remain outside this release. See verification. Missing features and live-environment feedback are welcome as issues or PRs.
Available Tools
23 toolsbind_compare_soaBRead-only
[READ] Compare primary and secondary SOA serials; unknown stays null.
Inputs: zone (required), secondary (required), target.
bind_config_checkBRead-only
[READ] Validate BIND config and loaded zone files with named-checkconf -z.
Inputs: target.
bind_diagnose_zoneARead-only
[READ] Correlate named, config, zone, SOA and DNSSEC probes; report failures.
Use for multi-probe zone triage; use bind_zone_status for only the live zonestatus.
Result: structured data or an explicit, sanitized operation error.
Inputs: zone (required), target.
bind_dnssec_validationBRead-only
[READ] Check current DNSSEC validation setting using rndc.
Inputs: target.
bind_dnssec_zone_statusARead-only
[READ] Show DNSSEC signing status for one zone.
Use for one zone’s DNSSEC status; use bind_signing_status for signing workflow detail.
Result: structured data or an explicit, sanitized operation error.
Inputs: zone (required), target.
bind_fetch_limitsBRead-only
[READ] Show servers and domains currently limited by recursive fetch caps.
Inputs: target.
bind_flush_nameBDestructive
[WRITE] Flush one DNS name from cache; cache state cannot be restored.
Inputs: name (required), target, dry_run.
bind_managed_keys_statusBRead-only
[READ] Show BIND managed DNSSEC trust-key status.
Result: structured data or an explicit, sanitized operation error.
Inputs: target.
bind_notify_zoneADestructive
[WRITE] Resend NOTIFY for one zone; downstream refresh remains unknown.
Result: a preview for dry_run; real command acceptance leaves downstream completion unknown.
Inputs: zone (required), target, dry_run.
bind_queryBRead-only
[READ] Query the configured DNS server and expose its actual response code.
Inputs: name (required), rrtype, target.
bind_query_serverARead-only
[READ] Query a specified DNS server for a supported record type.
Use when a specific DNS server must be queried; use bind_query for the configured server.
Result: structured data or an explicit, sanitized operation error.
Inputs: name (required), server (required), rrtype, target.
bind_refresh_zoneBDestructive
[WRITE] Ask a secondary zone to refresh; transfer completion remains unknown.
Inputs: zone (required), target, dry_run.
bind_reload_zoneBDestructive
[WRITE] Check config and queue a zone reload; completion remains unknown.
Inputs: zone (required), target, dry_run.
bind_retransfer_zoneBDestructive
[WRITE] Request a secondary zone retransfer; completion remains unknown.
Inputs: zone (required), target, dry_run.
bind_security_rootsBRead-only
[READ] Show trust anchors through rndc's response channel, without a dump file.
Inputs: target.
bind_serve_stale_statusBRead-only
[READ] Show whether stale DNS answers are currently served.
Result: structured data or an explicit, sanitized operation error.
Inputs: target.
bind_show_zoneBRead-only
[READ] Show a running dynamic zone's configuration when enabled.
Result: structured data or an explicit, sanitized operation error.
Inputs: zone (required), target.
bind_signing_statusARead-only
[READ] List a zone's ongoing and completed DNSSEC signing state.
Use for the signing workflow state; use bind_dnssec_zone_status for the zone-level DNSSEC status.
Result: structured data or an explicit, sanitized operation error.
Inputs: zone (required), target.
bind_statusARead-only
[READ] Get named service status from rndc.
Inputs: target.
bind_tcp_timeoutsBRead-only
[READ] Show current DNS TCP timeouts without changing them.
Result: structured data or an explicit, sanitized operation error.
Inputs: target.
bind_zone_statusBRead-only
[READ] Get BIND's live zonestatus for one zone.
Result: structured data or an explicit, sanitized operation error.
Inputs: zone (required), target.
undo_applyADestructive
[WRITE][risk=medium] Apply a recorded undo by dispatching its inverse tool.
The inverse runs through its own governed tool, so it is audited under its own risk tier. Pass dry_run=True to preview the inverse call without executing it. A token can only be applied once.
Args:
undo_id: The undoId from undo_list (or an _undo_id in a write result).
dry_run: If True, preview the inverse tool + params without running it.
target: Passed through to the inverse tool when it accepts a target.
Inputs: undo_id (required), target, dry_run.
undo_listARead-only
[READ] List recorded, not-yet-applied undo tokens (most recent first).
Each entry names the original tool, the inverse tool that undo_apply
would run, and a human note. Use the undoId with undo_apply.
One extra row is read so truncated is measured rather than guessed from
the row count matching the limit; when it is true, older tokens exist.
Each entry carries effectVerified. False means the original write
lost its response, so the change it reverses is PROBABLE, not confirmed —
check the live state before applying, and do not report the result as a
restore of a state that may never have been reached.
Args: limit: Max rows to return (default 50, capped at 500). target: Unused (undo state is host-local); accepted for CLI uniformity.
Inputs: limit, target.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 23 tools
Most tools target a distinct resource+action, and the descriptions explicitly cross-reference the near-duplicates (bind_signing_status vs bind_dnssec_zone_status, bind_query vs bind_query_server, bind_zone_status vs bind_diagnose_zone). A few pairs remain close — bind_status vs bind_zone_status, and the cluster of DNSSEC read tools — but the guidance in the descriptions is enough for an agent to pick correctly.
All tools use snake_case with a bind_ prefix, and the undo_* pair stands apart cleanly as a cross-cutting subsystem. The only minor deviation is that some names are noun phrases (bind_tcp_timeouts, bind_fetch_limits, bind_security_roots) while others are verb_noun (bind_show_zone, bind_notify_zone), but the style is uniform and readable.
23 tools is on the heavy side for a BIND operations server; the read surface is broad (timeouts, fetch limits, trust anchors, serve-stale, managed keys) and several status probes are only marginally distinct. Each tool does map to a real rndc/named-checkconf primitive, but consolidation into fewer parameterized status/diagnose tools would have been reasonable.
The set covers diagnosis, zone lifecycle writes (reload, refresh, retransfer, notify), cache flush, config validation, and a genuine undo mechanism for the risky writes — a coherent ops surface. Gaps exist around configuration editing, service restart, and zone creation/deletion, but these are workable omissions for a diagnostic-focused server.
Maintenance
Related MCP Connectors
Remote MCP server: 19 domain-hygiene and email-auth tools (DNS, SPF, DMARC, DKIM, TLS).
Audit, pin and diff agent tool lists; preflight and watch remote MCP servers. Free tier; x402.
Read-only MCP access to a documented IT fleet: state, changes, posture. 15 tools.
MCP server for DNSimple — domains, DNS zone records, availability, pricing and contacts.
Related MCP Servers
- AlicenseAqualityDmaintenanceA security-hardened MCP server for managing Technitium DNS Server via its HTTP API. It provides 20 tools for DNS zone management, record configuration, and server diagnostics with built-in protections like rate limiting and read-only modes.3913MIT
- AlicenseAqualityDmaintenanceA security-hardened MCP server for managing Technitium DNS Server via its HTTP API, offering tools for DNS zones, records, blocking, cache, settings, and diagnostics.39MIT
- AlicenseAqualityCmaintenanceA local MCP server for safely managing Control D DNS by conversation, enabling inspection of profiles and endpoints, diagnosing blocked queries, and creating/deleting rules with confirmation and read-back checks.151MIT
- AlicenseNot gradedqualityDmaintenanceExposes 24 stateless domain and network diagnostic commands as MCP tools, providing the same evidence as the dug.sh web app and curl endpoints.1MIT