allow negative cache entries to be returned

This commit is contained in:
Bob Halley
1999-11-03 19:58:00 +00:00
parent 79bbb290d9
commit 307fed93c4
+3 -1
View File
@@ -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) {