Manage DNS zones and export BIND9 manifests from hosting accounts

This commit is contained in:
parkel committed 2026-11-19 23:11:39 +01:00
1 parent 74b7dcedbe
commit 4fcbf723de
11 files changed
+595 -9

No files matched your search

+15 -2
View File
@@ -110,7 +110,19 @@ when the MariaDB administrative connection fails.
## Render a BIND9 zone
Save a manifest such as the following as `coulobre-zone.json`.
Open a hosting account and select **Add DNS zone** to configure a zone for
its primary domain. Enter the nameservers, SOA mailbox, and any A or AAAA
records. To edit an existing zone, select its domain in the **DNS zones**
table. The panel increments the SOA serial when the zone data changes.
Changing the account's primary domain preserves its existing DNS zones.
Select **Download manifest** in the DNS table and copy the file to the
hosting server or a separate DNS node. Resellers can see the configured
domains and serials for their assigned accounts. Operators with the
appropriate permissions can add and edit zones and download manifests.
A manifest can also be written directly for local testing. Save the
following example as `coulobre-zone.json`.
```json
{
@@ -131,7 +143,8 @@ Save a manifest such as the following as `coulobre-zone.json`.
The first nameserver is the SOA primary. Supply addresses for nameservers
inside the zone. Use fully qualified names in `addresses` and DNS mailbox
notation for `responsible_name`, such as `hostmaster.example.net` for
`hostmaster@example.net`. Increment the SOA serial when editing a zone.
`hostmaster@example.net`. Increment the SOA serial when editing a manifest
by hand.
Render the zone file and validate it with the `named-checkzone` utility
provided by the Ubuntu `bind9-utils` package. The rendered zone is written to