From: bert hubert Date: Tue, 13 Oct 2015 11:59:11 +0000 (+0200) Subject: implement AllowAction, document various other actions. X-Git-Tag: dnsdist-1.0.0-alpha1~248^2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8e50d605af1b18de8509e491d7db8a8164acc451;p=pdns implement AllowAction, document various other actions. --- diff --git a/pdns/README-dnsdist.md b/pdns/README-dnsdist.md index 9651a798a..a64bbc01b 100644 --- a/pdns/README-dnsdist.md +++ b/pdns/README-dnsdist.md @@ -569,6 +569,11 @@ Here are all functions: * `rmRule(n)`: remove rule n * `mvRule(from, to)`: move rule 'from' to a position where it is in front of 'to'. 'to' can be one larger than the largest rule, in which case the rule will be moved to the last position. + * Built-in Actions for Rules: + * `AllowAction()`: let these packets go through + * `DropAction()`: drop these packets + * `NoRecurseAction()`: strip RD bit from the question, let it go through + * `TCAction()`: create answer to query with TC and RD bits set, to move to TCP/IP * Specialist rule generators * addAnyTCRule(): generate TC=1 answers to ANY queries, moving them to TCP * setDNSSECPool(): move queries requesting DNSSEC processing to this pool