From: Peter van Dijk Date: Thu, 29 Oct 2020 10:22:32 +0000 (+0100) Subject: auth: fix consistent-backends setting default X-Git-Tag: auth-4.4.0-alpha2~3^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4fb23abb9ac2dc694d8c66b05cba79c78459a969;p=thirdparty%2Fpdns.git 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. --- 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