# Copy to /etc/knot/.env (0640 root:knot). deploy.sh seeds it on first run and, # on a re-run, updates only the keys you passed that run. Never commit it. # # knot.conf is re-rendered from these values on every deploy, so correcting one # here (or passing it to a re-run) actually takes effect. # ─── Identity ─────────────────────────────────────────────────────────────── # Shown as server.identity and server.nsid, and in the MOTD. Use the estate's # node naming, e.g. ANYCAST-DNS-3. NODE_ID= # primary | secondary # primary -- holds zone files, signs with automatic DNSSEC, owns the KASP # database, notifies the secondaries. Exactly one node. # secondary -- receives zones by AXFR/IXFR with TSIG and signs nothing. ROLE=secondary # ─── Listening ────────────────────────────────────────────────────────────── # Substituted into knot.conf's `listen:`. Comma-separated addr@port entries. # Narrow this to the node's service address if it should not answer on every # interface (an anycast node usually should not). LISTEN=0.0.0.0@53, ::@53 # ─── Replication ──────────────────────────────────────────────────────────── # secondary only: the primary this node transfers from. deploy.sh seeds a # minimal remotes.conf from it so the node can bootstrap by AXFR before the # `dns` repo's pipeline has ever run. The pipeline overwrites that file later. PRIMARY_ADDR= # ─── MOTD ─────────────────────────────────────────────────────────────────── # Data centre label for the login banner. Cosmetic. DATACENTER= # Peers for `knsctl serials` / the knsers alias -- space-separated addresses of # the other nodes in the estate. Written to /etc/profile.d/knotdns-peers.sh. PEERS=