mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-13 01:50:00 -04:00
support EDE 13 (Cached Error)
Extended DNS Error 13 (Cached Error) is now returned when the server answers a message from a cached SERVFAIL. See RFC 8914 section 4.14.
This commit is contained in:
parent
42b0046d1e
commit
430c0ce76a
1 changed files with 1 additions and 0 deletions
|
|
@ -6832,6 +6832,7 @@ ns__query_sfcache(query_ctx_t *qctx) {
|
|||
"0");
|
||||
}
|
||||
|
||||
dns_ede_add(&qctx->client->edectx, DNS_EDE_CACHEDERROR, NULL);
|
||||
qctx->client->inner.attributes |= NS_CLIENTATTR_NOSETFC;
|
||||
QUERY_ERROR(qctx, DNS_R_SERVFAIL);
|
||||
return ns_query_done(qctx);
|
||||
|
|
|
|||
Loading…
Reference in a new issue