# knot.conf -- BOOTSTRAP SKELETON. Deployed once by deploy.sh; rarely changes. # # This file owns only what belongs to the BOX: identity, storage paths, listen # addresses, logging, control socket. Everything that belongs to DNS POLICY -- # templates, dnssec policy, remotes/ACLs, modules, and the domain inventory -- # is delivered from the `dns` repo by its CD pipeline. Do not add zone: or # template: sections here. # # Values in @UPPER@ are substituted by deploy.sh from .env. # # Reload: knotc -b conf-check && knotc -b reload # The -b is not optional. Without it knotc returns OK when the command was # *sent*, not when it succeeded -- a rejected zone file reports green. server: identity: "@NODE_ID@" nsid: "@NODE_ID@" rundir: "/run/knot" user: knot:knot automatic-acl: on listen: [ @LISTEN@ ] control: listen: "/run/knot/knot.sock" timeout: 0 log: - target: syslog server: warning control: warning zone: info # zone-load rejections and KSK-submission results log # at info; at warning they are invisible quic: warning any: error database: storage: /var/lib/knot/database journal-db: /var/lib/knot/journal kasp-db: /var/lib/knot/keys timer-db: /var/lib/knot/timer catalog-db: /var/lib/knot/catalog # --- delivered by the `dns` repo pipeline; see that repo's knot/ directory --- include: /etc/knot/secrets.conf # rendered by deploy.sh, 0640 root:knot, NOT in git include: /etc/knot/remotes.conf include: /etc/knot/policy.conf include: /etc/knot/modules.conf include: /etc/knot/templates.conf include: /etc/knot/arpa.conf include: /etc/knot/dnssec.conf include: /etc/knot/public.conf