Apply and reload managed BIND9 zones

This commit is contained in:
parkel committed 2026-11-19 23:19:25 +01:00
1 parent 4fcbf723de
commit f00eee0f7a
4 files changed
+290 -1

No files matched your search

+21
View File
@@ -155,6 +155,27 @@ coulobre-dns-node render coulobre-zone.json > db.example.net
named-checkzone example.net db.example.net
```
### Apply a zone manifest
Install `bind9` and `bind9-utils` on an Ubuntu DNS node. Use BIND9's default
IN view and enable `allow-new-zones yes;` in the existing `options` block.
On an authoritative-only DNS node, set `recursion no;` and configure
`allow-transfer` to match your secondary servers. Set
`allow-transfer { none; };` on a standalone server. Verify that the local
RNDC control channel is available after applying your BIND9 configuration.
```sh
sudo rndc -s 127.0.0.1 status
sudo /opt/coulobre/bin/coulobre-dns-node apply coulobre-zone.json
```
Coulobre validates the zone with `named-checkzone` and installs it under
`/etc/bind/coulobre/`. BIND9 persists the primary zone registration through
`rndc addzone`. To publish an edit, download the updated manifest and apply
it again. Coulobre checks the SOA serial, reloads the individual zone, and
waits for BIND9 to report the requested serial. Reapply the same manifest to
resume after an interrupted reload. See the [BIND9 command reference](https://bind9.readthedocs.io/en/v9.18.39/manpages.html#rndc) and [RFC 1982](https://www.rfc-editor.org/rfc/rfc1982.html).
## Request an Apache configuration preview
Start RabbitMQ and set `COULOBRE_BROKER_URL` to its AMQP URL. The development