]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Document that DNSResponse lacks some methods and attributes 10267/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 6 Apr 2021 13:07:19 +0000 (15:07 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 6 Apr 2021 13:09:06 +0000 (15:09 +0200)
pdns/dnsdistdist/docs/reference/dq.rst

index c2b73071d7d3b217316c692fbf12a2b0cbc380ed..546e1d7c9baec88e86e805b1c5bb97a34b3d178c 100644 (file)
@@ -259,7 +259,27 @@ DNSResponse object
 
 .. class:: DNSResponse
 
-  This object has all the functions and members of a :ref:`DNSQuestion <DNSQuestion>` and some more
+  This object has almost all the functions and members of a :ref:`DNSQuestion <DNSQuestion>`, except for the following ones which are not available on a response:
+
+  - ``addProxyProtocolValue``
+  - ``ecsOverride``
+  - ``ecsPrefixLength``
+  - ``getProxyProtocolValues``
+  - ``getHTTPHeaders``
+  - ``getHTTPHost``
+  - ``getHTTPPath``
+  - ``getHTTPQueryString``
+  - ``setHTTPResponse``
+  - ``getHTTPScheme``
+  - ``getServerNameIndication``
+  - ``setNegativeAndAdditionalSOA``
+  - ``setProxyProtocolValues``
+  - ``spoof``
+  - ``tempFailureTTL``
+  - ``useECS``
+
+  If the value is really needed while the response is being processed, it is possible to set a tag while the query is processed, as tags will be passed to the response object.
+  It also has one additional method:
 
   .. method:: DNSResponse:editTTLs(func)