/etc/knot/knot.conf is in knot 2.6.5-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | #
# This is a sample of a minimal configuration file for Knot DNS.
# For more details, see man 5 knot.conf or refer to the server documentation.
#
server:
# Listen on all configured IPv4 interfaces.
listen: 0.0.0.0@53
# Listen on all configured IPv6 interfaces.
listen: ::@53
# User for running the server.
# user: knot:knot
log:
# Log info and more serious events to syslog.
- target: syslog
any: info
remote:
# - id: slave
# address: 203.0.113.1@53
#
# - id: master
# address: 198.51.100.1@53
acl:
# - id: acl_slave
# address: 203.0.113.1
# action: transfer
# - id: acl_master
# address: 198.51.100.1
# action: notify
template:
# - id: default
# storage: "/var/lib/knot"
zone:
# # Master zone.
# - domain: example.com
# file: "example.com.zone"
# notify: slave
# acl: acl_slave
# # Slave zone.
# - domain: example.net
# master: master
# acl: acl_master
|