From: Otto Moerbeek Date: Fri, 7 Feb 2020 12:08:42 +0000 (+0100) Subject: Remove duplicate *PolicyTags docs X-Git-Tag: auth-4.3.0-beta2~32^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F8795%2Fhead;p=thirdparty%2Fpdns.git Remove duplicate *PolicyTags docs --- diff --git a/pdns/recursordist/docs/lua-scripting/dq.rst b/pdns/recursordist/docs/lua-scripting/dq.rst index d1b675e329..704c44149d 100644 --- a/pdns/recursordist/docs/lua-scripting/dq.rst +++ b/pdns/recursordist/docs/lua-scripting/dq.rst @@ -168,10 +168,20 @@ The DNSQuestion object contains at least the following fields: .. method:: DNSQuestion:addPolicyTag(tag) - Add a policy tag. + Add policyTag ``tag`` to the list of policyTags. :param str tag: The tag to add + .. method:: DNSQuestion:getPolicyTags() -> {str} + + Get the current policy tags as a table of strings. + + .. method:: DNSQuestion:setPolicyTags(tags) + + Set the policy tags to ``tags``, overwriting any existing policy tags. + + :param {str} tags: The policy tags + .. method:: DNSQuestion:discardPolicy(policyname) Skip the filtering policy (for example RPZ) named ``policyname`` for this query. @@ -183,20 +193,10 @@ The DNSQuestion object contains at least the following fields: Returns the :class:`DNSHeader` of the query or nil. - .. method:: DNSQuestion:getPolicyTags() -> {str} - - Get the current policy tags as a table of strings. - .. method:: DNSQuestion:getRecords() -> {DNSRecord} Get a table of DNS Records in this DNS Question (or answer by now). - .. method:: DNSQuestion:setPolicyTags(tags) - - Set the policy tags to ``tags``, overwriting any existing policy tags. - - :param {str} tags: The policy tags - .. method:: DNSQuestion:setRecords(records) After your edits, update the answers of this question @@ -225,16 +225,6 @@ The DNSQuestion object contains at least the following fields: Returns the :class:`Netmask` specified in the EDNSSubnet option, or empty if there was none. - .. method:: DNSQuestion:addPolicyTag(tag) - - Add policyTag ``tag`` to the list of policyTags - - :param str tag: The tag to add - - .. method:: DNSQuestion:getPolicyTags() -> {str} - - Get a list the policyTags for this message. - DNSHeader Object ================