]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Fix lazy health-check related documentation issues
authorRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 20 Oct 2022 12:27:39 +0000 (14:27 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 20 Oct 2022 12:31:06 +0000 (14:31 +0200)
pdns/dnsdistdist/docs/guides/downstreams.rst
pdns/dnsdistdist/docs/reference/config.rst

index ac720d1d6a0de460983af53ce7bb4ec06c9f8527..2a986c81a1114010dff541629e1eb5017e7a6083 100644 (file)
@@ -63,7 +63,7 @@ Lazy health-checking
 
 In some setups, especially on low-end devices, it might not make sense to actively send queries to the backend at a regular interval. Using the feedback from the results of regular queries can instead be used to infer if a backend might not be working properly.
 
-Since 1.8.0, dnsdist implements a ``lazy`` mode that can be set via the ``healthCheckMode`` option on :func:`newServer`. In that mode dnsdist will only send active health-check queries after seeing a configurable amount of regular queries failing. It will then place the backend in a ``PotentialFailure`` state, from the initial ``Healthy`` one, and send health-check queries every ``checkInterval`` seconds. If ``maxCheckFailures`` of these fails, the backend is then moved to a ``Failed`` state and marked as ``down``, and active health-check queries are sent every ``lazyHealthCheckFailedInterval`` seconds. After ``rise`` successful, consecutive queries, the backend will be moved back to the ``Healthy`` state and marked as ``up`` again, and health-check queries will stop.
+Since 1.8.0, dnsdist implements a ``lazy`` mode that can be set via the ``healthCheckMode`` option on :func:`newServer`. In this mode, dnsdist will only send active health-check queries after seeing a configurable amount of regular queries failing. It will then place the backend in a ``PotentialFailure`` state, from the initial ``Healthy`` one, and send health-check queries every ``checkInterval`` seconds. If ``maxCheckFailures`` of these fail, the backend is then moved to a ``Failed`` state and marked as ``down``, and active health-check queries are sent every ``lazyHealthCheckFailedInterval`` seconds. After ``rise`` successful, consecutive queries, the backend will be moved back to the ``Healthy`` state and marked as ``up`` again, and health-check queries will stop.
 
 .. figure:: ../imgs/DNSDistLazyHealthChecks.png
    :align: center
index 8771efe24fed1aa188fb5c93963e9f1e45be2d71..4cf1e7a1c6489abfe087fd5dcb9d9181a21ef827 100644 (file)
@@ -737,10 +737,10 @@ A server object returned by :func:`getServer` can be manipulated with these func
 
   .. method:: Server:setDown()
 
-    Set the server in an ``DOWN`` state.
-    The server will not receive queries and the health checks are disabled
+    Set the server in a ``DOWN`` state.
+    The server will not receive queries and the health checks are disabled.
 
-  .. method:: Server:setLazy([status])
+  .. method:: Server:setLazyAuto([status])
 
     .. versionadded:: 1.8.0