This commit is contained in:
Mateusz Gruszczyński committed 2026-11-23 09:31:05 +01:00
1 parent 6e57b9e1b8
commit 7b8c7e93fb
48 files changed
+1010 -116

No files matched your search

+2 -2
View File
@@ -14,7 +14,7 @@ rndc zonestatus example.com # type, serial, files, signing
| BIND (`named.conf`) | EasyDNS (`config.yaml`) |
|---|---|
| `listen-on port 53 { 192.0.2.1; };` / `listen-on-v6` | `server.listen: ["192.0.2.1:53", "[2001:db8::1]:53"]` |
| `directory "/var/named";` | `server.data_dir` (default install: `/etc/easydns/data`); zone `file:` paths are relative to it (`zones/example.com.zone`) |
| `directory "/var/named";` | `server.data_dir` (default install: `/etc/easydns/data`); zone `file:` paths are relative to it (`zones/primary/example.com.zone`) |
| `key "xfr" { algorithm hmac-sha256; secret "…"; };` | copy the BIND key file unchanged to `/etc/easydns/keys.d/` (included by default), or `keys: [ { name: xfr, secret: "file:…" } ]` |
| `acl lan { 10.0.0.0/8; };` | `acls: { lan: ["10.0.0.0/8"] }`, referenced as `acl:lan` |
| `zone "x" { type master; file "…"; };` | `zones: [ { name: x, type: primary, file: … } ]` |
@@ -105,7 +105,7 @@ secondary of an EasyDNS primary (standard AXFR/IXFR/NOTIFY/TSIG). Useful as a mi
stage: make EasyDNS a secondary first, then promote it (next section).
**Promote an EasyDNS secondary to primary:** copy the snapshot
`<data_dir>/secondary/ZONE.zone` to a zone file, change the zone to `type: primary` with
`<data_dir>/zones/secondary/ZONE.zone` to `<data_dir>/zones/primary/ZONE.zone`, change the zone to `type: primary` with
`file:` pointing to it, reload. The serial continues from the transferred one.
## 3. Recursive resolver (caching resolver for a LAN)