a check if response if from upstream or from cachedb.
12 April 2024: Wouter
- Fix cachedb for serve-expired with serve-expired-client-timeout.
+ - Fixup unit test for cachedb server expired client timeout with
+ a check if response if from upstream or from cachedb.
10 April 2024: Wouter
- Implement cachedb-check-when-serve-expired: yes option, default
; because of the client timeout, it should be able to use the
; response from cachedb for www2.
+; make 2 seconds pass to decrement the TTL on the response,
+; the upstream TTL would be 10, cachedb 8.
+STEP 48 TIME_PASSES ELAPSE 2
+
STEP 50 QUERY
ENTRY_BEGIN
REPLY RD
SECTION QUESTION
www2.example.com. IN A
SECTION ANSWER
-www2.example.com. 10 IN A 1.2.3.5
+www2.example.com. 8 IN A 1.2.3.5
ENTRY_END
; make both cache and cachedb expired