diff options
author | Frantisek Sumsal <frantisek@sumsal.cz> | 2024-01-30 16:27:58 +0100 |
---|---|---|
committer | Luca Boccassi <luca.boccassi@gmail.com> | 2024-01-30 18:53:10 +0100 |
commit | cb3244c0dcea80ad35e5bcaf7a07bd449ac65325 (patch) | |
tree | 6b6bafce79c9ce7312518375c53b98399a30e1eb /test/knot-data | |
parent | Merge pull request #31109 from yuwata/nspawn-resolve-network-interface-before... (diff) | |
download | systemd-cb3244c0dcea80ad35e5bcaf7a07bd449ac65325.tar.xz systemd-cb3244c0dcea80ad35e5bcaf7a07bd449ac65325.zip |
test: explicitly set nsec3-iterations to 0
knot v3.2 and later does this by default. knot v3.1 still has the default set to
10, but it also introduced a warning that the default will be changed to 0 in
later versions, so it effectively complains about its own default, which then
fails the config check. Let's just set the value explicitly to zero to avoid
that.
~# knotc --version
knotc (Knot DNS), version 3.1.6
~# grep nsec3-iterations test/knot-data/knot.conf || echo nope
nope
~# knotc -c /build/test/knot-data/knot.conf conf-check
warning: config, policy[auto_rollover_nsec3].nsec3-iterations defaults to 10, since version 3.2 the default becomes 0
Configuration is valid
Follow-up to 0652cf8e7b.
Diffstat (limited to 'test/knot-data')
-rw-r--r-- | test/knot-data/knot.conf | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/knot-data/knot.conf b/test/knot-data/knot.conf index 22800f6cea..b8b9e7925d 100644 --- a/test/knot-data/knot.conf +++ b/test/knot-data/knot.conf @@ -58,6 +58,7 @@ policy: ds-push: parent_zone_server ksk-lifetime: 365d ksk-submission: parent_zone_sbm + nsec3-iterations: 0 nsec3: on propagation-delay: 1s signing-threads: 4 |