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
address: 143.198.131.196@53
key: us-node
acl:
- id: acl_secondary
address: 143.198.131.196
key: us-node
action: transfer
- id: acl_dynupdates
address: [143.198.131.196, 92.148.60.159, 51.91.103.130, 110.227.202.171, 107.189.12.96]
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