]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Update pdns/recursordist/docs/lua-scripting/hooks.rst 10111/head
authorOtto Moerbeek <otto@drijf.net>
Wed, 24 Feb 2021 15:31:27 +0000 (16:31 +0100)
committerGitHub <noreply@github.com>
Wed, 24 Feb 2021 15:31:27 +0000 (16:31 +0100)
Co-authored-by: Remi Gacogne <rgacogne+github@valombre.net>
pdns/recursordist/docs/lua-scripting/hooks.rst

index c34b7882aa1b240164bd3b81cdb505687b00e3c7..63a87481ffce56e508459504b201615f4bbbf5b5 100644 (file)
@@ -25,7 +25,7 @@ Once a script is loaded, PowerDNS looks for the interception functions in the lo
 All of these functions are optional.
 
 If ``ipfilter`` returns ``true``, the query is dropped.
-If ``preresolve`` returns ``true``, it will indicate it handled a query, and the recursor will send to result as constructed in the functions to the client.
+If ``preresolve`` returns ``true``, it will indicate it handled a query, and the recursor will send the result as constructed in the function to the client.
 If it returns ``false``, the Recursor will continue processing.
 For the other functions, the return value will indicate that an alteration has been made. In that case DNSSEC validation will be automatically disabled since the content might not be genuine anymore.
 At specific points the Recursor will check if policy handling should take place.