From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 1 Jul 2025 13:13:44 +0000 (-0400) Subject: spelling: or X-Git-Tag: rec-5.3.0-alpha2~16^2~15 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=c7a38ec026fc271b4d818cc7c589c981624db390;p=thirdparty%2Fpdns.git spelling: or Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- diff --git a/pdns/recursordist/docs/lua-scripting/hooks.rst b/pdns/recursordist/docs/lua-scripting/hooks.rst index 187830f367..7a041e711e 100644 --- a/pdns/recursordist/docs/lua-scripting/hooks.rst +++ b/pdns/recursordist/docs/lua-scripting/hooks.rst @@ -250,7 +250,7 @@ If a function has taken over a request, it can set an rcode (usually 0), and spe An interesting rcode is `NXDOMAIN` (3, or ``pdns.NXDOMAIN``), which specifies the non-existence of a domain. Instead of setting an rcode and records, it can also set fields in the applied policy to influence further processing. -The :func:`ipfilter` and :func:`preoutquery` hooks are different, in that :func:`ipfilter` can only return a true of false value, and that :func:`preoutquery` can also set rcode -3 to signify that the whole query should be terminated. +The :func:`ipfilter` and :func:`preoutquery` hooks are different, in that :func:`ipfilter` can only return a true or false value, and that :func:`preoutquery` can also set rcode -3 to signify that the whole query should be terminated. The :func:`policyEventFilter` has a different meaning as well, where returning true means that the policy hit should be ignored and normal processing should be resumed.