43 lines
709 B
Plaintext
43 lines
709 B
Plaintext
server:
|
|
rundir: "/run/knot"
|
|
user: knot:knot
|
|
listen: [ 0.0.0.0@53 ]
|
|
|
|
log:
|
|
- target: syslog
|
|
any: info
|
|
|
|
database:
|
|
storage: "/var/lib/knot"
|
|
|
|
remote:
|
|
- id: primary
|
|
address: 5.161.108.85@53
|
|
|
|
acl:
|
|
- id: acl_primary
|
|
address: 5.161.108.85
|
|
action: notify
|
|
|
|
template:
|
|
- id: default
|
|
storage: "/etc/knot"
|
|
file: "%s.zone"
|
|
|
|
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
|
|
master: primary
|
|
acl: acl_primary
|
|
- domain: vern.cc
|
|
master: primary
|
|
acl: acl_primary
|
|
module: mod-geoip/geo
|