ansible-public-dns/roles/hidden_primary/templates/knot.conf.j2
2024-02-05 09:04:32 +01:00

31 lines
No EOL
473 B
Django/Jinja

# Example of a very simple Knot DNS configuration.
server:
listen: 0.0.0.0@53
listen: ::@53
identity: {{ ansible_hostname }}
version:
user: knot:knot
async-start: off
automatic-acl: on
database:
storage: "/var/lib/knot"
#remote:
# - id: secondary
# address: 192.168.1.1@53
#
# - id: primary
# address: 192.168.2.1@53
template:
- id: default
storage: "/var/lib/knot"
file: "%s.zone"
log:
- target: syslog
any: info
include: STR