From 4a08068634cb198a746d3717dd24ade446f18cbe Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Sun, 7 Apr 2024 19:44:10 +0300 Subject: [PATCH] unbound/cache: serve-expired: yes I am unsure on whether this actually affects anything without setting the other expired options too --- etc/unbound/unbound.conf.d/cache.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/etc/unbound/unbound.conf.d/cache.conf b/etc/unbound/unbound.conf.d/cache.conf index 435a88e2..5b5bd6b1 100644 --- a/etc/unbound/unbound.conf.d/cache.conf +++ b/etc/unbound/unbound.conf.d/cache.conf @@ -20,3 +20,6 @@ server: prefetch: yes # Fetch keys when DS is encountered, lower latency for a bit higher CPU use prefetch-key: yes + # Allow expired results to be served if they are in cache. The cache will + # get updated the next time. + serve-expired: yes