Skip to main content

Dnscontrol

Manage DNS as Code with Infrahub and DNSControl

Managing DNS across multiple providers can easily become a headache. By combining InfraHub and DNSControl, you can finally define your DNS as code, with a single source of truth, peer review, and zero manual syncs. To bridge these tools, I created infrahub-dnscontrol, a repository providing the schema, Jinja2 templates, and configurations needed to connect them. The workflow is simple: define your DNS data in InfraHub, use Jinja2 transforms to generate DNSControl artifacts, and manage your registrars, zones, and records across platforms, all from that single source of truth.