Changelog entry for

- Allow TTL refresh of expired error responses.
This commit is contained in:
George Thessalonikefs 2023-02-09 10:52:56 +01:00
parent 87a8c80fcb
commit 1c1c5d72d3
2 changed files with 4 additions and 2 deletions

View file

@ -1,3 +1,6 @@
9 February 2023: George
- Allow TTL refresh of expired error responses.
9 February 2023: Wouter
- Fix to ignore entirely empty responses, and try at another authority.
This turns completely empty responses, a type of noerror/nodata into

View file

@ -329,8 +329,7 @@ error_response_cache(struct module_qstate* qstate, int id, int rcode)
rep->serve_expired_ttl) {
verbose(VERB_ALGO, "reset "
"serve-expired-ttl for "
"error response in "
"cache");
"response in cache");
rep->serve_expired_ttl =
*qstate->env->now +
qstate->env->cfg->serve_expired_ttl;