.. 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.
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
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
================