From 7527f42f302832371343f2e90909893244bce67a Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Fri, 1 Dec 2023 14:32:35 +0100 Subject: [PATCH] dnsdist: Better description for `getAddressInfo()` Co-authored-by: Otto Moerbeek --- pdns/dnsdistdist/docs/reference/config.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.2