This commit is contained in:
Mateusz Gruszczyński committed 2026-11-22 14:21:54 +01:00
commit fa432bebda
189 files changed
+26219

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
# Minimal authoritative primary (master).
# Transfers are authorised by secondary IP addresses; a TSIG key is optional (see below).
server: { mode: primary, listen: ["0.0.0.0:53", "[::]:53"], data_dir: /etc/easydns/data }
zones:
- name: example.com
type: primary
file: zones/example.com.zone # = /etc/easydns/data/zones/example.com.zone
transfer_acl: ["192.168.1.20/32"] # secondaries allowed to AXFR/IXFR
notify: ["192.168.1.20:53"] # send NOTIFY after every change
resolution: { default: refuse }
# Optional – also require a TSIG key for transfers:
# keys:
# - { name: xfr-key, algorithm: hmac-sha256, secret: "file:/etc/easydns/keys/xfr-key.secret" }
# and in the zone:
# transfer_tsig_key: xfr-key
# notify_tsig_key: xfr-key