From f9dd4431398a6968ca7cbcdcfc980291fed35d72 Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Tue, 6 Apr 2021 15:07:19 +0200 Subject: [PATCH] dnsdist: Document that DNSResponse lacks some methods and attributes --- pdns/dnsdistdist/docs/reference/dq.rst | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/pdns/dnsdistdist/docs/reference/dq.rst b/pdns/dnsdistdist/docs/reference/dq.rst index c2b73071d7..546e1d7c9b 100644 --- a/pdns/dnsdistdist/docs/reference/dq.rst +++ b/pdns/dnsdistdist/docs/reference/dq.rst @@ -259,7 +259,27 @@ DNSResponse object .. class:: DNSResponse - This object has all the functions and members of a :ref:`DNSQuestion ` and some more + This object has almost all the functions and members of a :ref:`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) -- 2.47.2