]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Update actions.rst
authorFrank Louwers <24672+franklouwers@users.noreply.github.com>
Tue, 11 Mar 2025 20:22:20 +0000 (21:22 +0100)
committerGitHub <noreply@github.com>
Tue, 11 Mar 2025 20:22:20 +0000 (21:22 +0100)
clarify SpoofAction()

pdns/dnsdistdist/docs/reference/actions.rst

index 5442d647c4c72b132cfc7d79e4b065e9930af32e..0fa2424d89ac60a2b8f85fbb702679824a74550c 100644 (file)
@@ -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.