DNS/master/knot.conf

45 lines
793 B
Plaintext
Raw Normal View History

2022-09-06 15:16:21 +00:00
server:
rundir: "/run/knot"
user: knot:knot
2022-12-14 08:15:05 +00:00
listen: 0.0.0.0@53
listen: ::@53
2022-09-06 15:16:21 +00:00
log:
- target: syslog
any: info
database:
storage: "/var/lib/knot"
remote:
- id: secondary
2022-12-14 08:15:05 +00:00
address: 192.46.210.187@53
2022-09-06 15:16:21 +00:00
acl:
- id: acl_secondary
2022-12-14 08:15:05 +00:00
address: 192.46.210.187
2022-09-06 15:16:21 +00:00
action: transfer
template:
- id: default
2022-12-14 08:15:05 +00:00
storage: "/etc/knot/zones"
2022-09-06 15:16:21 +00:00
file: "%s.zone"
dnssec-signing: on
semantic-checks: on
2022-12-14 08:15:05 +00:00
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 ]
2022-09-06 15:16:21 +00:00
zone:
- domain: vern0.me
notify: secondary
acl: acl_secondary
2022-10-22 09:23:19 +00:00
- domain: vern.cc
notify: secondary
acl: acl_secondary
2022-12-14 08:15:05 +00:00
module: mod-geoip/geo