Files
EasyDNS/config/secondary.yaml
T
2026-11-22 14:21:54 +01:00

18 lines
836 B
YAML
Raw 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 secondary (slave).
# The primary authorises this server by its IP address; a TSIG key is optional (see below).
server: { mode: secondary, listen: ["0.0.0.0:53", "[::]:53"], data_dir: /etc/easydns/data }
zones:
- name: example.com
type: secondary
primaries: ["192.168.1.10:53"]
allow_notify: ["192.168.1.10/32"] # default: the primaries' addresses
transfer: { prefer: ixfr, fallback_axfr: true }
# copy kept in /etc/easydns/data/zones/secondary/example.com.zone
resolution: { default: refuse }
# Optional – sign transfer requests with a TSIG key (the primary must require the same key):
# keys:
# - { name: xfr-key, algorithm: hmac-sha256, secret: "file:/etc/easydns/keys/xfr-key.secret" }
# and in the zone:
# transfer: { prefer: ixfr, fallback_axfr: true, tsig_key: xfr-key }