From: Peter van Dijk Date: Thu, 12 May 2016 13:52:07 +0000 (+0200) Subject: doc nit, thanks Bart Smit X-Git-Tag: auth-4.0.0-beta1~37 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=79711e2b7eec9bbddb8b22ea992547cfaa2a4af8;p=pdns doc nit, thanks Bart Smit --- diff --git a/pdns/README-dnsdist.md b/pdns/README-dnsdist.md index 9949e20f6..70bb432f4 100644 --- a/pdns/README-dnsdist.md +++ b/pdns/README-dnsdist.md @@ -1235,7 +1235,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 function. If this + * `bool blockFilter(ComboAddress, DNSQuestion)`: 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()`