From 307fed93c4aa9710e29418a773c399347badd440 Mon Sep 17 00:00:00 2001 From: Bob Halley Date: Wed, 3 Nov 1999 19:58:00 +0000 Subject: [PATCH] allow negative cache entries to be returned --- lib/dns/view.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/dns/view.c b/lib/dns/view.c index 18f3d73772..78ed35f591 100644 --- a/lib/dns/view.c +++ b/lib/dns/view.c @@ -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) {