]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
docs: add new backupselector option in lua functions
authorXabier Napal <xabier.napal@dvzr.io>
Mon, 20 Oct 2025 21:45:50 +0000 (23:45 +0200)
committerXabier Napal <xabier.napal@dvzr.io>
Thu, 18 Dec 2025 10:54:04 +0000 (11:54 +0100)
Signed-off-by: Xabier Napal <xabier.napal@dvzr.io>
docs/lua-records/functions.rst

index d4416331abc2f215076c0362c28c4b304ded69b8..f8c95654343e25b5e77785f881a1cef1aca72ae0 100644 (file)
@@ -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.