pizza1-configs/knot/knot.conf

57 lines
1.2 KiB
Plaintext
Raw Normal View History

2023-04-16 16:05:37 +05:30
server:
rundir: "/run/knot"
user: knot:knot
listen: 107.189.12.96@53
log:
- target: syslog
any: info
database:
storage: "/var/lib/knot"
# See aryak.me/blog/knot for setup instructions.
include: /etc/knot/secrets.conf
remote:
- id: secondary
2023-09-05 13:05:08 +05:30
address: 173.82.145.86@53
2023-04-16 16:05:37 +05:30
key: us-node
acl:
- id: acl_secondary
2023-09-05 13:05:08 +05:30
address: 173.82.145.86
2023-04-16 16:05:37 +05:30
key: us-node
action: transfer
- id: acl_dynupdates
2023-09-05 13:05:08 +05:30
address: [173.82.145.86, 92.148.60.159, 51.91.103.130, 110.227.202.171, 107.189.12.96]
2023-04-16 16:05:37 +05:30
action: update
key: dynupd
template:
- id: default
storage: "/etc/knot/zones"
file: "%s.zone"
dnssec-signing: on
semantic-checks: on
zonefile-sync: -1
zonefile-load: difference-no-serial
journal-content: all
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: projectsegfau.lt
notify: secondary
acl: [acl_secondary, acl_dynupdates]
module: mod-geoip/geo
2023-05-14 15:12:29 +05:30
- domain: psf.lt
notify: secondary
acl: [acl_secondary, acl_dynupdates]
module: mod-geoip/geo