From 0c7f618fff93b87f3021d9308776a3cc5b491c46 Mon Sep 17 00:00:00 2001 From: phonedph1 <20867105+phonedph1@users.noreply.github.com> Date: Mon, 29 Nov 2021 15:02:14 -0700 Subject: [PATCH] Update dq.rst --- pdns/recursordist/docs/lua-scripting/dq.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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`` -- 2.47.2