From 4fb23abb9ac2dc694d8c66b05cba79c78459a969 Mon Sep 17 00:00:00 2001 From: Peter van Dijk Date: Thu, 29 Oct 2020 11:22:32 +0100 Subject: [PATCH] auth: fix consistent-backends setting default we're leaving this off in 4.4.0 (as documented). also, change to a Switch, for better help text. --- pdns/common_startup.cc | 2 +- regression-tests.nobackend/counters/expected_result | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pdns/common_startup.cc b/pdns/common_startup.cc index 3700ce7bc6..1dd0662f01 100644 --- a/pdns/common_startup.cc +++ b/pdns/common_startup.cc @@ -240,7 +240,7 @@ void declareArguments() ::arg().set("max-generate-steps", "Maximum number of $GENERATE steps when loading a zone from a file")="0"; ::arg().setSwitch("upgrade-unknown-types","Transparently upgrade known TYPExxx records. Recommended to keep off, except for PowerDNS upgrades until data sources are cleaned up")="no"; - ::arg().set("consistent-backends", "Assume individual domains are not divided over backends. Send only ANY lookup operations to the backend to reduce the number of lookups")="yes"; + ::arg().setSwitch("consistent-backends", "Assume individual domains are not divided over backends. Send only ANY lookup operations to the backend to reduce the number of lookups")="no"; ::arg().set("rng", "Specify the random number generator to use. Valid values are auto,sodium,openssl,getrandom,arc4random,urandom.")="auto"; ::arg().setDefaults(); diff --git a/regression-tests.nobackend/counters/expected_result b/regression-tests.nobackend/counters/expected_result index 76e0a8a463..bb6d172327 100644 --- a/regression-tests.nobackend/counters/expected_result +++ b/regression-tests.nobackend/counters/expected_result @@ -15,7 +15,7 @@ open-tcp-connections=0 overload-drops=0 packetcache-size=4 qsize-q=0 -query-cache-size=3 +query-cache-size=4 rd-queries=0 recursing-answers=0 recursing-questions=0 -- 2.47.2