mirror of
https://gitlab.isc.org/isc-projects/bind9.git
synced 2025-12-05 18:57:04 -06: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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user