]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Fix a typo (ORRule -> OrRule) in the XFR documentation
authorRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 23 Jan 2023 14:13:21 +0000 (15:13 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 23 Jan 2023 14:13:21 +0000 (15:13 +0100)
pdns/dnsdistdist/docs/advanced/axfr.rst

index 2a6810cf61ff5d7c5698db3928388482fb360bc3..a2ebe3910350c339269d47d211b8fd75c96e1d54 100644 (file)
@@ -39,7 +39,7 @@ to do that are described in :doc:`Passing the source address to the backend <pas
   .. code-block:: lua
 
     -- this rule will not stop the processing, but disable caching for AXFR and IXFR responses
-    addAction(ORRule({QTypeRule(DNSQType.AXFR), QTypeRule(DNSQType.IXFR)}), SetSkipCacheAction())
+    addAction(OrRule({QTypeRule(DNSQType.AXFR), QTypeRule(DNSQType.IXFR)}), SetSkipCacheAction())
     -- this rule will route SOA, AXFR and IXFR queries to a specific pool of servers
     addAction(OrRule({QTypeRule(DNSQType.SOA), QTypeRule(DNSQType.AXFR), QTypeRule(DNSQType.IXFR)}), PoolAction("primary"))