]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Better description for `getAddressInfo()` 13505/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 1 Dec 2023 13:32:35 +0000 (14:32 +0100)
committerGitHub <noreply@github.com>
Fri, 1 Dec 2023 13:32:35 +0000 (14:32 +0100)
Co-authored-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
pdns/dnsdistdist/docs/reference/config.rst

index 6ba08b8cb2ef414687fe4dbf05dab190d3a274b1..44f69a08966320d5d173364f1a6e633dce72f9e3 100644 (file)
@@ -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