From: Kees Monshouwer Date: Mon, 4 Jul 2016 17:50:34 +0000 (+0200) Subject: increase the default value for the maximum number of TCP connections to 20 X-Git-Tag: rec-4.0.0~18^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6ee2c0566a63e90f5655cfee9859bb589d7b13eb;p=thirdparty%2Fpdns.git increase the default value for the maximum number of TCP connections to 20 --- diff --git a/docs/markdown/authoritative/settings.md b/docs/markdown/authoritative/settings.md index c20a890c10..269d4747b1 100644 --- a/docs/markdown/authoritative/settings.md +++ b/docs/markdown/authoritative/settings.md @@ -513,7 +513,7 @@ Maximum number of signatures cache entries ## `max-tcp-connections` * Integer -* Default: 10 +* Default: 20 Allow this many incoming TCP DNS connections simultaneously. diff --git a/pdns/common_startup.cc b/pdns/common_startup.cc index 3ee2b5a7da..c783d9a747 100644 --- a/pdns/common_startup.cc +++ b/pdns/common_startup.cc @@ -160,7 +160,7 @@ void declareArguments() ::arg().set("slave-renotify", "If we should send out notifications for slaved updates")="no"; ::arg().set("default-ttl","Seconds a result is valid if not set otherwise")="3600"; - ::arg().set("max-tcp-connections","Maximum number of TCP connections")="10"; + ::arg().set("max-tcp-connections","Maximum number of TCP connections")="20"; ::arg().setSwitch("no-shuffle","Set this to prevent random shuffling of answers - for regression testing")="off"; ::arg().set("setuid","If set, change user id to this uid for more security")="";