CLI-Anything Bundle #72 — Dnsmasq DNS/DHCP Trust Recon Pack

Four agent-native read-only harnesses that census the dnsmasq DNS/DHCP trust surface: the layers that decide whether a LAN's name and address authority can still be TRUSTED — the install + service trust posture (binary statted never executed, conf surfaces, lease files stat-only, unit posture), the dnsmasq.conf grammar + dnsmasq.d drop-in layer (forwarder stances, exposure law, DNSSEC hardening, privacy posture), the DHCP lease-file grammar census under a strict privacy cap (values never printed), and the hosts-layer + resolver coherence census (/etc/hosts, /etc/ethers, resolv.conf, nsswitch). No other bundle owns this surface — #53 keeps the audit-rules layer, #63 the bootloader/EFI layer, #66 the AIDE integrity layer, #67 the firejail sandbox layer, #68 the USBGuard device-authorization layer, #69 the rootkit/malware-detection layer, #70 the watchdog keepalive layer, #71 the ZeroTier mesh-join layer (census: 0 exact / 0 name-class substring token hits across the fresh full-catalog union — 1,412 union stems across 147 listing zips, 144 Gumroad products pulled fresh — the dnsmasq DNS/DHCP trust layer is unclaimed census territory).

The four tools

Self-test batteries inside: 919 checks, fired twice from the merged tree + clean-room fires from this exact shipping zip, 0 failed. Exit codes honest by contract (0 clean / 4 findings / 6 nothing-readable / 3 usage); --version prints exactly "1.0.0 (CLI-Anything Bundle #72)".

Who this is for

Home-lab and edge operators whose dnsmasq install, conf grammar, lease history and host/coherence posture still form a closed loop; agent builders who want their AI to census a LAN's DNS/DHCP trust surface without ever touching a secret, serving a query or executing the binary. The census reads — your resolver is never asked a question.

MIT licensed · Python 3.8+ · 40 files · stdlib-only