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

+6 -6
View File
@@ -53,7 +53,7 @@ Primary (`192.0.2.10`):
zones:
- name: example.com
type: primary
file: zones/example.com.zone # = /etc/easydns/data/zones/example.com.zone
file: zones/primary/example.com.zone # = /etc/easydns/data/zones/primary/example.com.zone
transfer_acl: ["198.51.100.20/32", "198.51.100.21/32"]
notify: ["198.51.100.20:53", "198.51.100.21:53"]
```
@@ -81,7 +81,7 @@ keys:
zones:
- name: example.com
type: primary
file: zones/example.com.zone
file: zones/primary/example.com.zone
transfer_acl: ["198.51.100.20/32", "198.51.100.21/32"]
transfer_tsig_key: xfr-key # optional
notify: ["198.51.100.20:53", "198.51.100.21:53"]
@@ -105,7 +105,7 @@ Generate a secret: `head -c 32 /dev/urandom | base64 > /etc/easydns/keys/xfr.sec
# primary
- name: example.com
type: primary
file: zones/example.com.zone
file: zones/primary/example.com.zone
transfer_tsig_key: xfr-key # no transfer_acl: any address with a valid key
notify: ["203.0.113.5:53"]
notify_tsig_key: xfr-key
@@ -133,7 +133,7 @@ server: { mode: primary, listen: ["10.0.0.10:53"] }
zones:
- name: example.com
type: primary
file: zones/example.com.zone
file: zones/primary/example.com.zone
transfer_acl: ["10.0.0.20/32", "10.0.0.21/32"]
notify: ["10.0.0.20:53", "10.0.0.21:53"]
resolution: { default: refuse }
@@ -215,8 +215,8 @@ keys:
- { name: provider-a, secret: "file:/etc/easydns/keys/provider-a.secret" }
- { name: provider-b, secret: "file:/etc/easydns/keys/provider-b.secret" }
zones:
- { name: example.com, type: primary, file: zones/example.com.zone, transfer_tsig_key: provider-a, notify: ["198.51.100.20:53"], notify_tsig_key: provider-a }
- { name: example.net, type: primary, file: zones/example.net.zone, transfer_tsig_key: provider-b, notify: ["203.0.113.7:53"], notify_tsig_key: provider-b }
- { name: example.com, type: primary, file: zones/primary/example.com.zone, transfer_tsig_key: provider-a, notify: ["198.51.100.20:53"], notify_tsig_key: provider-a }
- { name: example.net, type: primary, file: zones/primary/example.net.zone, transfer_tsig_key: provider-b, notify: ["203.0.113.7:53"], notify_tsig_key: provider-b }
```
## Key rotation (only when you use keys)