- Fix SOA excluded from negative DS responses. Reported by Hauke

Lampe.  The negative cache did not include proper SOA records for
	  negative qtype DS responses which makes BIND barf on it, such
	  responses are now only used internally.
	- Fix negative cache lookup of closestencloser check of DS type bit.



git-svn-id: file:///svn/unbound/trunk@1932 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards
2009-12-09 14:55:19 +00:00
parent 90da0cc2e8
commit c68aebb3d7
7 changed files with 159 additions and 7 deletions
+2 -1
View File
@@ -872,7 +872,8 @@ processInitRequest(struct module_qstate* qstate, struct iter_qstate* iq,
* NOERROR/NODATA or NXDOMAIN answers that need validation */
msg = val_neg_getmsg(qstate->env->neg_cache, &iq->qchase,
qstate->region, qstate->env->rrset_cache,
qstate->env->scratch_buffer, *qstate->env->now);
qstate->env->scratch_buffer,
*qstate->env->now, 1/*add SOA*/);
}
}
if(msg) {