BIND 9 AIops

io.github.AIops-tools由 GitHub 帳號 AIops-tools 發布v0.2.0更新於 Nov 5, 2026

Governed BIND 9 DNS operations — 23 MCP tools with audit.

概覽

AI 產生的概覽

受治理的 BIND 9 DNS 維運伺服器,提供 23 個具稽核的工具,透過 rndc、named-checkconf 與 dig 操作已設定的 DNS 目標。

可以做什麼
  • 檢視 named 服務與區域狀態、設定與已載入區域驗證、DNSSEC 模式、簽章、託管金鑰與 serve-stale 狀態
  • 檢查遞迴 fetch-limit 命中、信任錨、DNS TCP 逾時與各區域簽章進度
  • 執行 DNS 查詢並回傳實際回應碼,也可針對選定的次要伺服器查詢
  • 比較主要與次要 SOA 序號,並執行保留個別探測失敗資訊的區域診斷
  • 執行受保護的次要區域重傳與單一區域 NOTIFY 重送,以及具備演練與確認的重新載入、重新整理與快取清除
適用情境
適合讓助理協助維運與排查既有的 BIND 9 部署:檢查區域健康、DNSSEC 與簽章狀態,比較主要與次要 SOA 序號,或在有稽核紀錄下執行受保護的重新載入與傳輸指令。
執行需求
以 Python 套件形式在維運主機本機執行,需要 Python 3.11+ 與 uv,且主機已安裝 BIND 9 命令列工具。需要設定檔指定目標、rndc 金鑰檔與 named 設定路徑以及 DNS 伺服器;執行帳號須能讀取這些檔案。
安裝前請注意
部分工具會改變狀態:reload-zone、refresh-zone、flush-name、retransfer-zone 與 notify-zone 有演練與確認保護,但快取清除、重傳、NOTIFY 投遞或外部修改的區域檔無法安全復原。rndc 指令被接受不代表已完成,可能回報 outcomeUnknown。區域檔編輯、DNSSEC 金鑰變更與全域服務重啟不在本版本範圍內。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 BIND 9 AIops,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

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_zone keeps individual probe failures visible.

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:

yaml
targets:  - name: local    server: 127.0.0.1    dns_port: 53    rndc_config: /etc/bind/rndc.conf    named_config: /etc/bind/named.conf    timeout: 10

Use 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.

來源:README.md,提交 54294c2

工具

0
SourceWeft 曾在隔離沙箱中以無憑證方式啟動該軟體包一次,以列出其工具,但未能完成:伺服器未能啟動。

版本歷史

1
  1. v0.2.0最新Nov 5, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分