]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: further clarify `Server:isUp` method
authorGuillaume-Jean Herbiet <gjherbiet@users.noreply.github.com>
Thu, 23 May 2024 08:30:59 +0000 (10:30 +0200)
committerGitHub <noreply@github.com>
Thu, 23 May 2024 08:30:59 +0000 (10:30 +0200)
Explain how to unset "administrative status".

pdns/dnsdistdist/docs/reference/config.rst

index 0059b31b6da303191e20ea3728d36ad55b66560d..3d2da16e9c618aacb7cbf64412b73cd1e7ff4d74 100644 (file)
@@ -808,7 +808,7 @@ A server object returned by :func:`getServer` can be manipulated with these func
 
     Returns the up status of the server.
     Result is based on the administrative status of the server (as set by either :meth:`Server:setDown` or :meth:`Server:setUp`).
-    If no administrative status is set, result is based on :attr:`Server.upStatus`
+    If no administrative status is set (see :meth:`Server.setAuto`), result is based on :attr:`Server.upStatus`
 
     :returns: true when the server is up, false otherwise