From: bert hubert Date: Thu, 3 Apr 2014 09:44:05 +0000 (+0200) Subject: we like the failed host stuff so much we made it the default X-Git-Tag: rec-3.6.0-rc1~91 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=324dc148f4df752fd3f1b637a88ba5f8871ad0cc;p=thirdparty%2Fpdns.git we like the failed host stuff so much we made it the default --- diff --git a/pdns/pdns_recursor.cc b/pdns/pdns_recursor.cc index d5a1eb274c..77fdf700fc 100644 --- a/pdns/pdns_recursor.cc +++ b/pdns/pdns_recursor.cc @@ -2117,7 +2117,7 @@ int main(int argc, char **argv) ::arg().set("client-tcp-timeout","Timeout in seconds when talking to TCP clients")="2"; ::arg().set("max-mthreads", "Maximum number of simultaneous Mtasker threads")="2048"; ::arg().set("max-tcp-clients","Maximum number of simultaneous TCP clients")="128"; - ::arg().set("server-down-max-fails","Maximum number of consecutive timeouts (and unreachables) to mark a server as down ( 0 => disabled )")="0"; + ::arg().set("server-down-max-fails","Maximum number of consecutive timeouts (and unreachables) to mark a server as down ( 0 => disabled )")="64"; ::arg().set("server-down-throttle-time","Number of seconds to throttle all queries to a server after being maked as down")="60"; ::arg().set("hint-file", "If set, load root hints from this file")=""; ::arg().set("max-cache-entries", "If set, maximum number of entries in the main cache")="1000000";