From: Remi Gacogne Date: Mon, 11 Feb 2019 09:16:35 +0000 (+0100) Subject: Merge pull request #7142 from 1848/checkinterval X-Git-Tag: auth-4.2.0-beta1~30 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9704e9a835c1d4714859490873a4535aa602db25;p=pdns Merge pull request #7142 from 1848/checkinterval dnsdist: Add option to set interval between health checks --- 9704e9a835c1d4714859490873a4535aa602db25 diff --cc pdns/dnsdistdist/docs/reference/config.rst index 21d72674b,79b33fcee..77a7fa976 --- a/pdns/dnsdistdist/docs/reference/config.rst +++ b/pdns/dnsdistdist/docs/reference/config.rst @@@ -340,10 -336,10 +340,11 @@@ Server checkClass=NUM, -- Use NUM as QCLASS in the health-check query, default: DNSClass.IN checkName=STRING, -- Use STRING as QNAME in the health-check query, default: "a.root-servers.net." checkType=STRING, -- Use STRING as QTYPE in the health-check query, default: "A" - checkFunction=FUNCTION -- Use this function to dynamically set the QNAME, QTYPE and QCLASS to use in the health-check query (see :ref:`Healthcheck`) + checkFunction=FUNCTION,-- Use this function to dynamically set the QNAME, QTYPE and QCLASS to use in the health-check query (see :ref:`Healthcheck`) + checkTimeout=NUM, -- The timeout (in milliseconds) of a health-check query, default: 1000 (1s) setCD=BOOL, -- Set the CD (Checking Disabled) flag in the health-check query, default: false maxCheckFailures=NUM, -- Allow NUM check failures before declaring the backend down, default: 1 + checkInterval=NUM -- The time in seconds between health checks mustResolve=BOOL, -- Set to true when the health check MUST return a NOERROR RCODE and an answer useClientSubnet=BOOL, -- Add the client's IP address in the EDNS Client Subnet option when forwarding the query to this backend source=STRING, -- The source address or interface to use for queries to this backend, by default this is left to the kernel's address selection