2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

return NOTFOUND if a hints lookup fails

This commit is contained in:
Bob Halley
2000-01-27 01:08:09 +00:00
parent 057cedf6b5
commit 92f0280bfb

View File

@@ -559,6 +559,9 @@ dns_view_find(dns_view_t *view, dns_name_t *name, dns_rdatatype_t type,
rdataset, sigrdataset);
if (result == ISC_R_SUCCESS || result == DNS_R_GLUE)
result = DNS_R_HINT;
else if (result == DNS_R_NXDOMAIN ||
result == DNS_R_NXRDATASET)
result = DNS_R_NOTFOUND;
}
cleanup: