]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
auth: Also declare 'any-lookups-onl' in pdnsutil
authorRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 8 Jul 2020 08:45:05 +0000 (10:45 +0200)
committermind04 <mind04@monshouwer.org>
Tue, 27 Oct 2020 08:04:18 +0000 (09:04 +0100)
pdns/common_startup.cc
pdns/pdnsutil.cc

index 5e9f6188d8ac31f1cd7c4d476f1ab2193f98fe15..2cf6de6c3e59b5957aaa4d010d23f87f74efd3a8 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("any-lookups-only", "Send only ANY lookup operations to the backend to reduce the number of lookups.")="yes";
+  ::arg().set("any-lookups-only", "Send only ANY lookup operations to the backend to reduce the number of lookups")="yes";
 
   ::arg().set("rng", "Specify the random number generator to use. Valid values are auto,sodium,openssl,getrandom,arc4random,urandom.")="auto";
   ::arg().setDefaults();
index be3bd8b1f7c2f878da99a6d0f238352b26ba9a5d..b61f8c5800a273ede536744ef78b112b1baa3880 100644 (file)
@@ -131,6 +131,7 @@ static void loadMainConfig(const std::string& configdir)
   ::arg().set("chroot","Switch to this chroot jail")="";
   ::arg().set("dnssec-key-cache-ttl","Seconds to cache DNSSEC keys from the database")="30";
   ::arg().set("domain-metadata-cache-ttl","Seconds to cache domain metadata from the database")="60";
+  ::arg().set("any-lookups-only","Send only ANY lookup operations to the backend to reduce the number of lookups")="yes";
 
   // Keep this line below all ::arg().set() statements
   if (! ::arg().laxFile(configname.c_str()))