From: Frank Louwers <24672+franklouwers@users.noreply.github.com> Date: Tue, 11 Mar 2025 20:22:20 +0000 (+0100) Subject: Update actions.rst X-Git-Tag: dnsdist-2.0.0-alpha2~106^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7fc80cec09935316bb7ad0a838ea967fe4e5658;p=thirdparty%2Fpdns.git Update actions.rst clarify SpoofAction() --- diff --git a/pdns/dnsdistdist/docs/reference/actions.rst b/pdns/dnsdistdist/docs/reference/actions.rst index 5442d647c4..0fa2424d89 100644 --- a/pdns/dnsdistdist/docs/reference/actions.rst +++ b/pdns/dnsdistdist/docs/reference/actions.rst @@ -797,6 +797,9 @@ The following actions exist. Forge a response with the specified IPv4 (for an A query) or IPv6 (for an AAAA) addresses. If you specify multiple addresses, all that match the query type (A, AAAA or ANY) will get spoofed in. + Note that if you only specify only addresses of one type (e.g. only IPv4 addresses), then queries for the other type (in this case AAAA queries), will **not** be spoofed. + This means that for most practical cases, you'd need to specify at least one IPv4 and one IPv6 address. + :param string ip: An IPv4 and/or IPv6 address to spoof :param {string} ips: A table of IPv4 and/or IPv6 addresses to spoof :param table options: A table with key: value pairs with options.