From: Remi Gacogne Date: Mon, 23 Jan 2023 14:13:50 +0000 (+0100) Subject: dnsdist: Simplify the sample rule to disable caching for NOTIFY queries X-Git-Tag: dnsdist-1.8.0-rc1~90^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6a4203880f9e2103b44bd4c61a794c3be597bdfd;p=thirdparty%2Fpdns.git dnsdist: Simplify the sample rule to disable caching for NOTIFY queries --- diff --git a/pdns/dnsdistdist/docs/advanced/axfr.rst b/pdns/dnsdistdist/docs/advanced/axfr.rst index a2ebe39103..0be88d31f5 100644 --- a/pdns/dnsdistdist/docs/advanced/axfr.rst +++ b/pdns/dnsdistdist/docs/advanced/axfr.rst @@ -65,5 +65,5 @@ check to :program:`dnsdist`'s side:: .. code-block:: lua - -- this rule will disable caching for NOTIFY responses - addAction(AndRule({OpcodeRule(DNSOpcode.Notify), QTypeRule(DNSQType.SOA)}), SetSkipCacheAction()) + -- this rule will disable the caching of responses for NOTIFY queries + addAction(OpcodeRule(DNSOpcode.Notify), SetSkipCacheAction())