From 67b02e3994e2ecb20c448e4266546eeaad084425 Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Wed, 24 Feb 2021 16:31:27 +0100 Subject: [PATCH] Update pdns/recursordist/docs/lua-scripting/hooks.rst Co-authored-by: Remi Gacogne --- pdns/recursordist/docs/lua-scripting/hooks.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/recursordist/docs/lua-scripting/hooks.rst b/pdns/recursordist/docs/lua-scripting/hooks.rst index c34b7882aa..63a87481ff 100644 --- a/pdns/recursordist/docs/lua-scripting/hooks.rst +++ b/pdns/recursordist/docs/lua-scripting/hooks.rst @@ -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. -- 2.47.2