From c36e993c45a252ef6ecadcf4f67405d906f249ef Mon Sep 17 00:00:00 2001 From: Peter van Dijk Date: Mon, 30 Apr 2018 16:00:39 +0200 Subject: [PATCH] document undocumented config vars 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 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pdns/common_startup.cc b/pdns/common_startup.cc index de5ed573a..463a3a33e 100644 --- a/pdns/common_startup.cc +++ b/pdns/common_startup.cc @@ -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"; -- 2.49.0