From: Baptiste Assmann Date: Wed, 2 Nov 2016 21:23:31 +0000 (+0100) Subject: MINOR: dns: implement extra 'hold' timers. X-Git-Tag: v1.7-dev6~29 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=987e16d6f4b0cc4614cf87f4b849531d32312a2b;p=thirdparty%2Fhaproxy.git MINOR: dns: implement extra 'hold' timers. This adds new "hold" timers : nx, refused, timeout, other. This timers will be used to tell HAProxy to keep an erroneous response as valid for the corresponding period. For now they're only configured, not enforced. --- diff --git a/doc/configuration.txt b/doc/configuration.txt index b5127d6382..147a9fbe7f 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -11347,12 +11347,13 @@ nameserver : hold Defines during which the last name resolution should be kept based on last resolution - : last name resolution status. Only "valid" is accepted for now. + : last name resolution status. Acceptable values are "nx", + "other", "refused", "timeout", "valid". : interval between two successive name resolution when the last answer was in . It follows the HAProxy time format. is in milliseconds by default. - Default value is 10s for "valid". + Default value is 10s for "valid" and 30s for others. Note: since the name resolution is triggered by the health checks, a new resolution is triggered after modulo the parameter of @@ -11384,6 +11385,10 @@ timeout