]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Document what happens on cache hit, miss after resumption
authorRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 17 Jan 2023 15:33:33 +0000 (16:33 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 17 Jan 2023 15:33:33 +0000 (16:33 +0100)
pdns/dnsdistdist/docs/reference/dq.rst

index 410318c0ff7440af084db5cea78241db4ac52248..cd8dd221c886dd6e127338b5cb51f59423029511 100644 (file)
@@ -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.