Cached NXDOMAIN for type ANY queries should be bound to a rdataset.

This commit is contained in:
Mark Andrews 1999-12-23 06:50:51 +00:00
parent 1205f38a4c
commit f6c1a76e91

View file

@ -2462,7 +2462,7 @@ cache_find(dns_db_t *db, dns_name_t *name, dns_dbversion_t *version,
result = DNS_R_SUCCESS;
}
if (type != dns_rdatatype_any) {
if (type != dns_rdatatype_any || result == DNS_R_NCACHENXDOMAIN) {
bind_rdataset(search.rbtdb, node, found, search.now,
rdataset);
if (foundsig != NULL)