fix: repair malformed SOA and expand release verification

This commit is contained in:
bryanpedini committed 2026-11-19 15:46:12 +01:00
1 parent 5d7da681e7
commit 3623006f25
11 files changed
+106 -4

No files matched your search

+1 -1
View File
@@ -81,7 +81,7 @@ After field validation every record is converted to the `miekg/dns` RR the plugi
Errors refuse a write with HTTP `422`: a zone has exactly one SOA, at the apex, which cannot be created twice or deleted on its own; the last apex NS cannot be deleted; a name with a CNAME has no other record and only one CNAME; no two records share name, type and canonical content. Warnings let the write through and are returned with the response: records of one name and type with different TTLs, `NS`, `MX` or `SRV` targets that are CNAME owners or have no address record in the zone, names below a zone cut, `TXT` text longer than 255 bytes (served as several strings).
The zone page can repair an existing broken SOA set by editing a misplaced SOA or deleting an extra SOA. If a conflicting CNAME blocks the repair, delete that CNAME first. To restore a missing SOA, use a merge import containing an apex SOA.
The zone page can repair an existing broken SOA set by editing a misplaced SOA or deleting an extra SOA. If a conflicting CNAME blocks a structural repair, delete that CNAME first. If the sole SOA has malformed content and conflicts with a CNAME, correct the SOA content first, then remove the CNAME. To restore a missing SOA, use a merge import containing an apex SOA.
The zone check (API, UI and `check` command) reports every row the plugin cannot serve correctly.