diff --git a/lib/dns/view.c b/lib/dns/view.c index 9239ee20e9..0e6962ba6c 100644 --- a/lib/dns/view.c +++ b/lib/dns/view.c @@ -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: