bindconfig
A declarative, keyword-driven configuration generator and validator for ISC BIND 9.

bindconfig compiles clean, modular YAML zone definitions into standard, production-ready BIND 9 named.conf.local configurations. It supports reusable mixins, dynamic ACME DNS-01 challenge policies, TSIG key management, and automated syntax validation via named-checkconf.
[!note]
The API and command line switches are subject to change before v1.0.0.
Installation
go install 1x0.us/bindconfig/cmd/bindconfig@latest
Binaries
Binaries are available for MacOS Intel, MacOS Apple Silicon, Linux ARM64, and Linux X86-64 on the Releases page.
Quick Start
# Check configuration semantics and syntax
bindconfig -s /etc/bindconfig -c
# Compile YAML configurations to named.conf.local
bindconfig -s /etc/bindconfig -o /etc/bind/named.conf.local
# Validate output against ISC BIND named-checkconf (injects stub DNSSEC policies for syntax validation)
bindconfig -s /etc/bindconfig --bind-check
See USER_GUIDE.md for full configuration format, keywords, and CLI flag documentation.
Development & Testing
# Run tests and verify dependencies
make check
# Build binary
make build