From: Xabier Napal Date: Mon, 20 Oct 2025 21:45:50 +0000 (+0200) Subject: docs: add new backupselector option in lua functions X-Git-Tag: rec-5.4.0-beta1~83^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad3b9995a55b09d96078a34fb8d74d270c4eeab7;p=thirdparty%2Fpdns.git docs: add new backupselector option in lua functions Signed-off-by: Xabier Napal --- diff --git a/docs/lua-records/functions.rst b/docs/lua-records/functions.rst index d4416331ab..f8c9565434 100644 --- a/docs/lua-records/functions.rst +++ b/docs/lua-records/functions.rst @@ -70,7 +70,7 @@ Record creation functions Various options can be set in the ``options`` parameter: - ``selector``: used to pick the address(es) from the list of available addresses. Choices include 'pickclosest', 'random', 'hashed', 'all' (default 'random'). - - ``backupSelector``: used to pick the address(es) from all addresses if all addresses are down. Choices include 'pickclosest', 'random', 'hashed', 'all' (default 'random'). + - ``backupSelector``: used to pick the address(es) from all addresses if all addresses are down. Choices include 'pickclosest', 'random', 'hashed', 'all', 'empty' (default 'random'). - ``source``: Source address to check from - ``timeout``: Maximum time in seconds that you allow the check to take (default 2) - ``interval``: Time interval between two checks, in seconds. Defaults to :ref:`setting-lua-health-checks-interval` if not specified. @@ -97,7 +97,7 @@ Record creation functions Various options can be set in the ``options`` parameter: - ``selector``: used to pick the address(es) from the subset of available addresses of the selected set. Choices include 'pickclosest', 'random', 'hashed', 'all' (default 'random'). - - ``backupSelector``: used to pick the address from all addresses if all addresses are down. Choices include 'pickclosest', 'random', 'hashed', 'all' (default 'random'). + - ``backupSelector``: used to pick the address from all addresses if all addresses are down. Choices include 'pickclosest', 'random', 'hashed', 'all', 'empty' (default 'random'). - ``source``: Source address to check from - ``timeout``: Maximum time in seconds that you allow the check to take (default 2) - ``interval``: Time interval between two checks, in seconds. Defaults to :ref:`setting-lua-health-checks-interval` if not specified.