From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Thu, 20 Feb 2025 20:55:01 +0000 (-0500) Subject: docs: lua link to ifurlup-options X-Git-Tag: dnsdist-2.0.0-alpha1~74^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F15188%2Fhead;p=thirdparty%2Fpdns.git docs: lua link to ifurlup-options Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- diff --git a/docs/lua-records/functions.rst b/docs/lua-records/functions.rst index 45a63a1c25..e04bc7100f 100644 --- a/docs/lua-records/functions.rst +++ b/docs/lua-records/functions.rst @@ -82,6 +82,8 @@ Record creation functions :param addresses: List of sets of addresses to check the URL on. :param options: Table of options for this specific check, see below. + .. _ifurlup-options: + 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'). @@ -106,7 +108,7 @@ Record creation functions This is useful when health checking already happens elsewhere, and that state is exposed over HTTP(S). Health checks are considered positive if the HTTP response code is 200 and optionally if the content matches the ``stringmatch`` option. - Options are identical to those for ``ifurlup``. + :ref:`Options ` are identical to those for ``ifurlup``. Example: