From: Remi Gacogne Date: Tue, 17 Jan 2023 15:33:33 +0000 (+0100) Subject: dnsdist: Document what happens on cache hit, miss after resumption X-Git-Tag: dnsdist-1.8.0-rc1~86^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0e708f1e8a29ab4cb0da163d5105208a710cec1;p=thirdparty%2Fpdns.git dnsdist: Document what happens on cache hit, miss after resumption --- diff --git a/pdns/dnsdistdist/docs/reference/dq.rst b/pdns/dnsdistdist/docs/reference/dq.rst index 410318c0ff..cd8dd221c8 100644 --- a/pdns/dnsdistdist/docs/reference/dq.rst +++ b/pdns/dnsdistdist/docs/reference/dq.rst @@ -545,8 +545,9 @@ AsynchronousObject object Resume the processing of the suspended object. For a question, it means first checking whether it was turned into a response, - and sending the response out it it was. Otherwise do a cache-lookup, select a - backend and send the query to the backend. + and sending the response out it it was. Otherwise do a cache-lookup: on a + cache-hit, the response will be sent immediately. On a cache-miss, + it means dnsdist will select a backend and send the query to the backend. For a response, it means inserting into the cache if needed and sending the response to the backend. Note that the AsynchronousObject object should NOT be accessed after successfully calling this method.