From: phonedph1 <20867105+phonedph1@users.noreply.github.com> Date: Mon, 29 Nov 2021 22:02:14 +0000 (-0700) Subject: Update dq.rst X-Git-Tag: rec-4.7.0-alpha0~5^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F11046%2Fhead;p=thirdparty%2Fpdns.git Update dq.rst --- diff --git a/pdns/recursordist/docs/lua-scripting/dq.rst b/pdns/recursordist/docs/lua-scripting/dq.rst index f1becb4e45..491cd5483a 100644 --- a/pdns/recursordist/docs/lua-scripting/dq.rst +++ b/pdns/recursordist/docs/lua-scripting/dq.rst @@ -40,7 +40,7 @@ The DNSQuestion object contains at least the following fields: .. attribute:: DNSQuestion.rcode current DNS Result Code, which can be overridden, including to several magical values - The rcode can be set to pdns.DROP to drop the query. + The rcode can be set to ``pdns.DROP`` to drop the query. Other statuses are normal DNS return codes, like ``pdns.NOERROR``, ``pdns.NXDOMAIN`` etc. .. attribute:: DNSQuestion.isTcp @@ -179,7 +179,9 @@ The DNSQuestion object contains at least the following fields: The result of the DNSSEC validation, accessible from the ``postresolve``, ``nxdomain`` and ``nodata`` hooks. By contrast with :attr:`validationState `, there are several Bogus states to be able to better understand the reason for a DNSSEC validation failure. - Possible states are : + + Possible states are: + - ``pdns.validationstates.Indeterminate`` - ``pdns.validationstates.BogusNoValidDNSKEY`` - ``pdns.validationstates.BogusInvalidDenial``