]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: update last addLuaAction parameter reference
authorPieter Lexis <pieter.lexis@powerdns.com>
Thu, 7 Apr 2016 08:24:16 +0000 (10:24 +0200)
committerPieter Lexis <pieter.lexis@powerdns.com>
Thu, 7 Apr 2016 08:24:16 +0000 (10:24 +0200)
pdns/README-dnsdist.md

index cfb70e02656a4bf4872d67a79be1b9ba511ad72a..23f3de55b2bd28159812cadf428e4627c8a8cbe9 100644 (file)
@@ -1049,8 +1049,8 @@ instantiate a server with additional parameters
     * `showPools()`: list the current server pools
  * Lua Action related:
     * `addLuaAction(x, func)`: where 'x' is all the combinations from `addPoolRule`, and func is a 
-      function with parameters remote, qname, qtype, dh and len, which returns an action to be taken 
-      on this packet. Good for rare packets but where you want to do a lot of processing.
+      function with the parameter `dq`, which returns an action to be taken on this packet.
+      Good for rare packets but where you want to do a lot of processing.
  * Server selection policy related:
     * `setServerPolicy(policy)`: set server selection policy to that policy
     * `setServerPolicyLua(name, function)`: set server selection policy to one named 'name' and provided by 'function'