]> granicus.if.org Git - pdns/commitdiff
document undocumented config vars
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:00:43 +0000 (16:00 +0200)
configuration variables without a help string do not show up in --help and
pdns_control current-config

pdns/common_startup.cc

index 6ce7ef9947f5ba5492e3896f7b4a59fd1f914b66..e591174c84d40617e746839d50e70ccd9b84fc10 100644 (file)
@@ -170,9 +170,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";