]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
document undocumented config vars 6540/head
authorPeter van Dijk <peter.van.dijk@powerdns.com>
Mon, 30 Apr 2018 14:00:39 +0000 (16:00 +0200)
committerPeter van Dijk <peter.van.dijk@powerdns.com>
Mon, 30 Apr 2018 14:52:39 +0000 (16:52 +0200)
configuration variables without a help string do not show up in --help and
pdns_control current-config

(cherry picked from commit 69a1b753a31ffa29315f40d4d2074f92ff896b96)

pdns/common_startup.cc

index de5ed573ae77f6599e06f7dfbac8e0ceeee2bab6..463a3a33ed3a69e0c3f531dc2decf8817f151506 100644 (file)
@@ -165,9 +165,9 @@ void declareArguments()
   ::arg().set("default-ttl","Seconds a result is valid if not set otherwise")="3600";
   ::arg().set("max-tcp-connections","Maximum number of TCP connections")="20";
   ::arg().set("max-tcp-connections-per-client","Maximum number of simultaneous TCP connections per client")="0";
-  ::arg().set("max-tcp-transactions-per-conn")="0";
-  ::arg().set("max-tcp-connection-duration")="0";
-  ::arg().set("tcp-idle-timeout")="5";
+  ::arg().set("max-tcp-transactions-per-conn","Maximum number of subsequent queries per TCP connection")="0";
+  ::arg().set("max-tcp-connection-duration","Maximum time in seconds that a TCP DNS connection is allowed to stay open.")="0";
+  ::arg().set("tcp-idle-timeout","Maximum time in seconds that a TCP DNS connection is allowed to stay open while being idle")="5";
 
   ::arg().setSwitch("no-shuffle","Set this to prevent random shuffling of answers - for regression testing")="off";