Path: blob/main/dns/cascade/files/patch-etc_config.template.toml
17747 views
--- etc/config.template.toml.orig 2025-10-05 12:23:15 UTC1+++ etc/config.template.toml2@@ -3,14 +3,14 @@3#4# This is a template file. Uncommented lines demonstrate the default settings.5# You can copy this and customize it to your liking, or write a configuration6-# file from scratch using this as a reference.7+# file from scratch using this as a reference.89# The configuration file version.10#11# This is the only required option. All other settings, and their defaults, are12# associated with this version number. More versions may be added in the future13# and Cascade may drop support for older versions over time.14-#15+#16# - 'v1': This format.17version = "v1"1819@@ -20,28 +20,28 @@ version = "v1"20# Zone policies are user-managed files configuring groups of zones. You can21# modify them as you like, then ask Cascade to reload them with 'cascade policy22# reload'.23-policy-dir = "/etc/cascade/policies"24+policy-dir = "%%ETCDIR%%/policies"2526# The directory storing per-zone state files.27#28# Cascade maintains an internal state file for every known zone here. These29# files should not be modified manually, but they can be backed up and restored30# in the event of filesystem corruption.31-zone-state-dir = "/var/lib/cascade/zone-state"32+zone-state-dir = "%%DBDIR%%/zone-state"3334# The file storing TSIG key secrets.35#36# This is an internal state file containing sensitive cryptographic material.37# It should not be modified manually, but it can be backed up and restored in38# the event of filesystem corruption. Carefully consider its security.39-tsig-store-path = "/var/lib/cascade/tsig-keys.db"40+tsig-store-path = "%%DBDIR%%/tsig-keys.db"4142# The file storing KMIP credentials.43#44# This is an internal state file containing sensitive cryptographic material.45# It should not be modified manually, but it can be backed up and restored in46# the event of filesystem corruption. Carefully consider its security.47-kmip-credentials-store-path = "/var/lib/cascade/kmip/credentials.db"48+kmip-credentials-store-path = "%%DBDIR%%/kmip/credentials.db"4950# The directory storing rollover states and on-disk DNSSEC keys.51#52@@ -55,23 +55,23 @@ kmip-credentials-store-path = "/var/lib/cascade/kmip/c53# Carefully consider its security.54#55# TODO: Move rollover state files to a separate directory?56-keys-dir = "/var/lib/cascade/keys"57+keys-dir = "%%DBDIR%%/keys"5859# The directory containing KMIP server state.60#61# Information about known KMIP servers is stored in this directory.62-#63+#64# The organization of this directory (file names and file formats) constitutes65# internal implementation details. It should not be modified manually, but66# it can be backed up and restored in the event of filesystem corruption.67-kmip-server-state-dir = "/var/lib/cascade/kmip"68+kmip-server-state-dir = "%%DBDIR%%/kmip"6970# The path to the dnst binary Cascade should use.71#72# Cascade relies on the 'dnst' program (<https://github.com/NLnetLabs/dnst>) in73# order to perform DNSSEC key rollovers. You can specify an absolute path here,74# or just 'dnst' if it is in $PATH.75-dnst-binary-path = "/usr/libexec/cascade/cascade-dnst"76+dnst-binary-path = "%%LOCALBASE%%/bin/dnst"777879# Settings relevant to any daemon program.80@@ -213,7 +213,7 @@ servers = ["127.0.0.1:8052", "[::1]:8052"] # TODO: Pic81# How zones are published.82[server]83# Where to serve published zones.84-#85+#86# A DNS server will be bound to these addresses, and will serve the contents of87# all published zones. This is the final output from Cascade.88#899091