home-infra/templates/knot.conf.j2
2025-01-16 13:37:02 +01:00

37 lines
668 B
Django/Jinja

server:
identity: {{ identity }}
version: off
nsid: {{ nsid }}
rundir: "/run/knot"
user: {{ knot_user }}:{{ knot_group }}
automatic-acl: on
listen: [ 0.0.0.0@53, ::@53 ]
log:
- target: syslog
any: info
database:
storage: "/var/lib/knot"
acl:
- id: notify_from_primary
address: [ {{ master_ip_acl }} ]
action: notify
remote:
- id: primary
address: [ {{ master_ip_acl }} ]
template:
- id: secondary_zones
master: primary
acl: notify_from_primary
zone:
- domain: {{ catalog_domain }}
master: primary
acl: notify_from_primary
catalog-role: interpret
catalog-template: secondary_zones