]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
rec: Document a few missing DNSQuestion attributes 11607/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 5 May 2022 15:39:00 +0000 (17:39 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 5 May 2022 15:39:00 +0000 (17:39 +0200)
pdns/recursordist/docs/lua-scripting/dnsrecord.rst
pdns/recursordist/docs/lua-scripting/dq.rst

index 4b386b284b920a8ebea90e2e59905b996737f90b..ff1002cf004f791cad3a251bb745884e817adae6 100644 (file)
@@ -1,7 +1,7 @@
 DNS Record
 ==========
 
-DNS record objects are returned by :meth:`DNSQuestion:getRecords`.
+DNS record objects are returned by :meth:`DNSQuestion:getRecords()` and accepted by :meth:`DNSQuestion:addAnswer()`, :meth:`DNSQuestion:addRecord()` and  :meth:`DNSQuestion:setRecords()`.
 
 .. class:: DNSRecord
 
index bc840d8497343330dbd33001db1a3322b42dd5d1..6a7433af9c74333747ea42abae56fc5e91810958 100644 (file)
@@ -70,6 +70,14 @@ The DNSQuestion object contains at least the following fields:
       - getFakePTRRecords: Get a fake PTR record, see :doc:`DNS64 <../dns64>`
       - udpQueryResponse: Do a UDP query and call a handler, see :ref:`UDP Query Response <udpqueryresponse>`
 
+  .. attribute:: DNSQuestion.followupName
+
+      see :doc:`DNS64 <../dns64>`
+
+  .. attribute:: DNSQuestion.followupPrefix
+
+      see :doc:`DNS64 <../dns64>`
+
   .. attribute:: DNSQuestion.appliedPolicy
 
     The decision that was made by the policy engine, see :ref:`modifyingpolicydecisions`.
@@ -211,6 +219,10 @@ The DNSQuestion object contains at least the following fields:
 
       Whether the response to this query will be exported to a remote protobuf logger, if one has been configured.
 
+  .. attribute:: DNSQuestion.tag
+
+      The packet-cache tag set via :func:`gettag`, or 0 if it has not been set.
+
   It also supports the following methods:
 
   .. method:: DNSQuestion:addAnswer(type, content, [ttl, name])
@@ -338,6 +350,11 @@ The DNS header as returned by :meth:`DNSQuestion:getDH()` represents a header of
 
       The ID of the query
 
+DNSRecord Object
+================
+
+See :doc:`DNSRecord <../dnsrecord>`.
+
 The EDNSOptionView Class
 ========================