From: bert hubert Date: Thu, 17 Dec 2015 10:33:07 +0000 (+0100) Subject: tyop X-Git-Tag: dnsdist-1.0.0-alpha1~45^2~10 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4f3931ec0895e16d626f476823a898d7203851af;p=pdns tyop --- diff --git a/pdns/README-dnsdist.md b/pdns/README-dnsdist.md index ba2f2c7bc..18fd4eb02 100644 --- a/pdns/README-dnsdist.md +++ b/pdns/README-dnsdist.md @@ -716,7 +716,7 @@ All hooks --------- `dnsdist` can call Lua per packet if so configured, and will do so with the following hooks: - * `bool blockfilter(ComboAddress, DNSName, qtype, DNSHeader)`: if defined, called for every function. If this + * `bool blockFilter(ComboAddress, DNSName, qtype, DNSHeader)`: if defined, called for every function. 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, ComboAddress, DNSName, qtype, DNSHeader)`: if configured with `setServerPolicyLua()`