Support delegated DNS editing and additional record types

This commit is contained in:
parkel committed 2026-11-22 11:02:45 +01:00
1 parent aba83d299d
commit a8b51ce629
14 files changed
+402 -24

No files matched your search

+16
View File
@@ -1280,6 +1280,22 @@ Each request captures the reviewed SOA serial and records. You can edit the
zone while it publishes. Publish the newer revision after the current request
finishes. Use **Retry publishing** if the current revision failed.
To let the customer and the assigned reseller edit a zone's records, enable
**Delegate record editing** on that zone. They can also publish the zone when
Coulobre publishing is enabled. The operator controls the authoritative
nameservers, SOA responsible name, and automatic mail DNS setting. In
**Additional records**, enter one fully qualified name, type, and value per
line. Use `@` for the zone apex.
```text
www.example.net CNAME example.net.
_sip._tcp.example.net SRV 10 0 5060 sip.example.net.
@ CAA 0 issue "letsencrypt.org"
```
Upgrade a separate BIND9 node to the same Coulobre version before publishing
zones with these records.
## Provision local mailboxes from the panel
To provision Postfix and Dovecot on another host, use the
+22 -3
View File
@@ -349,6 +349,24 @@ Supply TXT values as plain JSON strings. The renderer quotes the values and
splits long UTF-8 strings into DNS character strings. DKIM readers concatenate
the strings in the TXT record. [RFC 1035](https://www.rfc-editor.org/rfc/rfc1035.html) and [RFC 6376](https://www.rfc-editor.org/rfc/rfc6376.html)
### Include CNAME, SRV, and CAA records in a manifest
Version 3 adds an `extra_records` array and retains the two arrays from
version 2. The panel emits version 3 for zones that use an extra record type.
The node still accepts version 1 and 2 manifests.
```json
{
"name": "_sip._tcp.example.net",
"record_type": "SRV",
"value": "10 0 5060 sip.example.net."
}
```
Use fully qualified names for CNAME targets and SRV target hosts. Use `.`
as an SRV target for an unavailable service. A CNAME cannot share its owner
with any other record or form a loop within the zone.
### Apply a zone manifest
Install `bind9` and `bind9-utils` on the DNS node. Use BIND9's default
@@ -386,7 +404,7 @@ sudo systemctl enable --now coulobre-dns-apply.socket
```
Grant the socket group only to the service identity responsible for publishing
zones. Send one version 1 or 2 zone manifest as UTF-8 JSON to
zones. Send one version 1, 2, or 3 zone manifest as UTF-8 JSON to
`/run/coulobre-dns-apply.sock`, with a limit of 1 MiB. Shut down the writing
half of the connection and read the JSON reply to EOF. For a valid manifest,
the reply identifies the domain and SOA serial. A `configured` reply means
@@ -810,8 +828,9 @@ python manage.py import_directadmin_zone user.admin.customer.tar.zst 1
python manage.py import_directadmin_zone user.admin.customer.tar.zst 1 --apply
```
Coulobre uses its own TTL and SOA timers. Record types outside the mapping,
such as CNAME, SRV, delegated NS, and DNSSEC records, appear in the preview.
Coulobre imports A, AAAA, MX, TXT, CNAME, SRV, and CAA with its own TTL and
SOA timers. Record types outside the mapping, such as delegated NS and DNSSEC
records, appear in the preview.
Use `--apply --skip-unsupported` only after deciding how the omitted records
will be served. A differing destination zone blocks the import. An identical
zone can be previewed or reapplied without creating another copy. Adjust