]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
auth: fix consistent-backends setting default
authorPeter van Dijk <peter.van.dijk@powerdns.com>
Thu, 29 Oct 2020 10:22:32 +0000 (11:22 +0100)
committerPeter van Dijk <peter.van.dijk@powerdns.com>
Thu, 29 Oct 2020 12:04:45 +0000 (13:04 +0100)
we're leaving this off in 4.4.0 (as documented).
also, change to a Switch, for better help text.

pdns/common_startup.cc
regression-tests.nobackend/counters/expected_result

index 3700ce7bc66760a385bb48c39739cd84334aa344..1dd0662f010afb8652a11f49b9d8658467d67303 100644 (file)
@@ -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();
index 76e0a8a4631e681ccf15b988c035853ecf3c19f9..bb6d17232750f3e4a9e4f2cadabafe45b27d0b15 100644 (file)
@@ -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