Commit 307fed93 authored by Bob Halley's avatar Bob Halley
Browse files

allow negative cache entries to be returned

parent 79bbb290
......@@ -427,7 +427,9 @@ dns_view_find(dns_view_t *view, dns_name_t *name, dns_rdatatype_t type,
cleanup:
if (result != ISC_R_SUCCESS &&
result != DNS_R_GLUE &&
result != DNS_R_HINT)
result != DNS_R_HINT &&
result != DNS_R_NCACHENXDOMAIN &&
result != DNS_R_NCACHENXRRSET)
result = DNS_R_NOTFOUND;
if (zrdataset.methods != NULL) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment