From: bert hubert Date: Fri, 10 Jun 2016 16:59:03 +0000 (+0200) Subject: documentation of blockFilter was out of date X-Git-Tag: auth-4.0.0-rc1~52 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=15e20e4b5d891e0ced5f086d3d5a7e6f6759fc09;p=pdns documentation of blockFilter was out of date --- diff --git a/pdns/README-dnsdist.md b/pdns/README-dnsdist.md index 83cc56d17..728bef776 100644 --- a/pdns/README-dnsdist.md +++ b/pdns/README-dnsdist.md @@ -1255,7 +1255,7 @@ All hooks --------- `dnsdist` can call Lua per packet if so configured, and will do so with the following hooks: - * `bool blockFilter(ComboAddress, DNSQuestion)`: if defined, called for every packet. If this + * `bool blockFilter(dq)`: if defined, called for every packet. If this returns true, the packet is dropped. If false is returned, `dnsdist` will check if the DNSHeader indicates the packet is now a query response. If so, `dnsdist` will answer the client directly with the modified packet. * `server policy(candidates, DNSQuestion)`: if configured with `setServerPolicyLua()`