Files
2026-11-23 09:31:05 +01:00

18 lines
791 B
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 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/primary/example.com.zone # = /etc/easydns/data/zones/primary/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