CLI-Anything Bundle #103 — BIND DNS Trust Recon Pack (4 New AI Agent Skills)
v1.0.0 · MIT · stdlib-only · read-only by construction
Four agent-native, read-only trust-recon CLI tools covering the BIND DNS (named) trust surface — the layer that tells you whether a recursive/authoritative resolver's binaries, config grammar, zone data and query-log posture can still be TRUSTED. Read-only by construction: no binary is ever executed, nothing is ever written, nothing networks, and no zone data, TSIG/trusted-key value or query-log client address ever prints raw (values ride BIN1/CONF1/FILE1/IP1/CRED-PRESENT token classes only); MIT, stdlib-only, self-test batteries inside (826 executed checks across the four tools — 200 + 210 + 215 + 201 — fired three times at 0 failed, plus clean-room fires unpacked from this exact shipping zip, 0 failed).
- bind9peek — named binary/service posture census: named binary/service posture census: named / named-checkconf / rndc presence-only stat rows across the five standard lookup dirs (TOOL_BINS rows, BIN1 tokens — binaries are NEVER executed, bytes NEVER read); /etc/bind config dir presence + octal PERM (group/other-writable rides CONF_PERM); paired-posture law (CONF_WITHOUT_TOOL when config exists without a binary, BARE_TOOL when binaries exist without config); zone-data dir census across /var/cache/bind, /var/lib/named, /var/named, /var/chroot/na (200 checks)
- bind9confpeek — named.conf grammar census: /etc/bind named.conf grammar census: *.conf + named.conf files as CONF rows + mode classes (CONF_PERM); LINE-BASED KEY-PRESENCE grammar over the public bind9 vocabulary (options, listen-on, allow-query, recursion, dnssec-validation, forwarders, version, zone, type master/slave/hint, file, masters, allow-transfer, also-notify) — public vocab bodies print capped at 60 chars; listener/allow IP literals ride IP1 tokens and NEVER print (any/localhost/ none/localnets doc-shapes MAY print); TSIG/truste (210 checks)
- bind9zonepeek — zone-file grammar census: BIND zone-file grammar census: *.zone + *.db census under /etc/bind (or one explicit BIND9_PEEK_ZONE override dir) plus file "X" targets pulled from a capped named.conf head read (FILE1 token rows); $ORIGIN/$TTL/$INCLUDE/$GENERATE DIR rows and SOA/NS/A/AAAA/CNAME/MX/TXT REC KEY-PRESENCE rows (record TYPES are public vocabulary, record DATA never rides a row; owner names ride "@" or NAME1); serial CLASS law (the value rides SERIAL1 unless it carries the 2026010101-class doc shape — month/day awar (215 checks)
- bind9logpeek — named log census: named log census: /var/log/named (named.log, query.log, *.log.logrotate) or one explicit BIND9_PEEK_LOG override dir; capped-4KB-head LINE-COUNTS-ONLY parse (query, NXDOMAIN, refused, denied COUNTS — counts not contents, no line text ever rides a row); client-IP token law (custom IPs collapse to IP1; the 127.0.0.1/::1/localhost doc shapes MAY print); per-file STAT law with LOG_PERM finding (group/other write bits); stat-only .1/.1.gz/.gz rotator census; HUGE_LOG honest note over 100MB (strict >) (201 checks)