45 lines
793 B
Plaintext
45 lines
793 B
Plaintext
server:
|
|
rundir: "/run/knot"
|
|
user: knot:knot
|
|
listen: 0.0.0.0@53
|
|
listen: ::@53
|
|
|
|
log:
|
|
- target: syslog
|
|
any: info
|
|
|
|
database:
|
|
storage: "/var/lib/knot"
|
|
|
|
remote:
|
|
- id: secondary
|
|
address: 192.46.210.187@53
|
|
|
|
acl:
|
|
- id: acl_secondary
|
|
address: 192.46.210.187
|
|
action: transfer
|
|
|
|
template:
|
|
- id: default
|
|
storage: "/etc/knot/zones"
|
|
file: "%s.zone"
|
|
dnssec-signing: on
|
|
semantic-checks: on
|
|
|
|
mod-geoip:
|
|
- id: geo
|
|
config-file: "/etc/knot/geo.conf"
|
|
mode: geodb
|
|
geodb-file: "/var/lib/knot/GeoLite2-City.mmdb"
|
|
geodb-key: [ continent/code, country/iso_code, city/names/en ]
|
|
|
|
zone:
|
|
- domain: vern0.me
|
|
notify: secondary
|
|
acl: acl_secondary
|
|
- domain: vern.cc
|
|
notify: secondary
|
|
acl: acl_secondary
|
|
module: mod-geoip/geo
|