]> granicus.if.org Git - pdns/commitdiff
Corrected addAnyTCRule() documentation (#5574)
authorSebastian Schmidt <publicarray@users.noreply.github.com>
Wed, 2 Aug 2017 09:19:55 +0000 (19:19 +1000)
committerRemi Gacogne <rgacogne@users.noreply.github.com>
Wed, 2 Aug 2017 09:19:55 +0000 (11:19 +0200)
* fixes #5573

pdns/dnsdistdist/docs/rules-actions.rst

index eda68aa2a640eaa81ddd09ab62bbc75d9e7e9d28..3b31784e50d899b68239ae7195dde2d24607ff93 100644 (file)
@@ -76,11 +76,11 @@ Rule Generators
 
 .. function:: addAnyTCRule()
 
-  Set the TC-bit (truncate) on all queries received over UDP.
+  Set the TC-bit (truncate) on ANY queries received over UDP.
   Forcing a retry over TCP.
   This is equivalent to doing::
 
-    addAction(AndRule(AllRule(), TCPRule(false)), TCAction())
+    addAction(AndRule({QTypeRule(dnsdist.ANY), TCPRule(false)}), TCAction())
 
 .. function:: addDelay(DNSrule, delay)