From 57316fb89045e8fda7914862f5a05df46b203165 Mon Sep 17 00:00:00 2001 From: Yorgos Thessalonikefs Date: Mon, 23 Sep 2024 16:01:47 +0200 Subject: [PATCH] - server-expired-ttl-reset should work for expired records regardless of their expired TTL value. --- validator/validator.c | 1 + 1 file changed, 1 insertion(+) diff --git a/validator/validator.c b/validator/validator.c index 730d2fa8c..857510b65 100644 --- a/validator/validator.c +++ b/validator/validator.c @@ -2460,6 +2460,7 @@ processFinished(struct module_qstate* qstate, struct val_qstate* vq, struct reply_info* rep = (struct reply_info*)e->entry.data; if(rep && rep->security > sec_status_bogus && (!qstate->env->cfg->serve_expired_ttl || + qstate->env->cfg->serve_expired_ttl_reset || *qstate->env->now <= rep->serve_expired_ttl)) { verbose(VERB_ALGO, "validation failed but " "previously cached valid response "