From: Remi Gacogne Date: Mon, 28 Jun 2021 09:06:27 +0000 (+0200) Subject: dnsdist: Document that DNSQuestion.spoof exists to spoof multiple values X-Git-Tag: dnsdist-1.7.0-alpha1~119^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3ea3a3d88a87ab636885e819bd4828f954f0abcd;p=thirdparty%2Fpdns.git dnsdist: Document that DNSQuestion.spoof exists to spoof multiple values --- diff --git a/pdns/dnsdistdist/docs/reference/constants.rst b/pdns/dnsdistdist/docs/reference/constants.rst index 7e93e6a645..d81c2d44f7 100755 --- a/pdns/dnsdistdist/docs/reference/constants.rst +++ b/pdns/dnsdistdist/docs/reference/constants.rst @@ -121,7 +121,7 @@ These constants represent an Action that can be returned from :func:`LuaAction` * ``DNSAction.Refused``: return a response with a Refused rcode * ``DNSAction.ServFail``: return a response with a ServFail rcode * ``DNSAction.Spoof``: spoof the response using the supplied IPv4 (A), IPv6 (AAAA) or string (CNAME) value. TTL will be 60 seconds. - * ``DNSAction.SpoofRaw``: spoof the response using the supplied raw value as record data + * ``DNSAction.SpoofRaw``: spoof the response using the supplied raw value as record data (see also :meth:`DNSQuestion:spoof` and :func:`dnsdist_ffi_dnsquestion_spoof_raw` to spoof multiple values) * ``DNSAction.Truncate``: truncate the response * ``DNSAction.NoRecurse``: set rd=0 on the query