From: Remi Gacogne Date: Fri, 1 Dec 2023 13:32:35 +0000 (+0100) Subject: dnsdist: Better description for `getAddressInfo()` X-Git-Tag: rec-5.0.0-rc1~5^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F13505%2Fhead;p=thirdparty%2Fpdns.git dnsdist: Better description for `getAddressInfo()` Co-authored-by: Otto Moerbeek --- diff --git a/pdns/dnsdistdist/docs/reference/config.rst b/pdns/dnsdistdist/docs/reference/config.rst index 6ba08b8cb2..44f69a0896 100644 --- a/pdns/dnsdistdist/docs/reference/config.rst +++ b/pdns/dnsdistdist/docs/reference/config.rst @@ -1919,7 +1919,7 @@ Other functions .. versionadded:: 1.9.0 - Asynchronously resolve, via the system resolver (using ``getaddrinfo()``), the supplied ``hostname`` to IPv4 and IPv6 before invoking the supplied ``callback`` function with the ``hostname`` and a list of IPv4 and IPv6 addresses as :class:`ComboAddress`. + Asynchronously resolve, via the system resolver (using ``getaddrinfo()``), the supplied ``hostname`` to IPv4 and IPv6 addresses (if configured on the host) before invoking the supplied ``callback`` function with the ``hostname`` and a list of IPv4 and IPv6 addresses as :class:`ComboAddress`. For example, to get the addresses of Quad9's resolver and dynamically add them as backends: .. code-block:: lua