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
2024-02-24 16:49:17 +05:30
listen: [ 0.0.0.0@53, ::@53]
2023-04-16 16:05:37 +05:30
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
2024-02-24 16:49:17 +05:30
address: 74.48.191.220@53
2023-04-16 16:05:37 +05:30
key: us-node
acl:
- id: acl_secondary
2024-02-24 16:49:17 +05:30
address: 74.48.191.220
2023-04-16 16:05:37 +05:30
key: us-node
action: transfer
- id: acl_dynupdates
2024-02-24 16:49:17 +05:30
address: [74.48.191.220, 92.148.60.159, 51.91.103.130, 110.227.202.171, 89.33.85.209]
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