From: Remi Gacogne Date: Tue, 6 Apr 2021 13:07:19 +0000 (+0200) Subject: dnsdist: Document that DNSResponse lacks some methods and attributes X-Git-Tag: dnsdist-1.6.0-rc1~19^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F10267%2Fhead;p=thirdparty%2Fpdns.git dnsdist: Document that DNSResponse lacks some methods and attributes --- 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)