]> granicus.if.org Git - pdns/commitdiff
documentation of blockFilter was out of date
authorbert hubert <bert.hubert@netherlabs.nl>
Fri, 10 Jun 2016 16:59:03 +0000 (18:59 +0200)
committerbert hubert <bert.hubert@netherlabs.nl>
Fri, 10 Jun 2016 16:59:03 +0000 (18:59 +0200)
pdns/README-dnsdist.md

index 83cc56d17bf95cd5d085ce4811eb20f6206fba00..728bef776e5cd3d12b70caaea478e41e34f4f549 100644 (file)
@@ -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()`