mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-01-02 04:49:34 -05:00
Fixup for qtype NS.
git-svn-id: file:///svn/unbound/trunk@1428 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
0a9116f856
commit
c76429ab57
2 changed files with 3 additions and 0 deletions
|
|
@ -1,5 +1,6 @@
|
|||
13 January 2009: Wouter
|
||||
- fixed bug in lameness marking, removed printouts.
|
||||
- find NS rrset more cleanly for qtype NS.
|
||||
|
||||
12 January 2009: Wouter
|
||||
- fixed bug in infrastructure lameness cache, did not lowercase
|
||||
|
|
|
|||
|
|
@ -1424,6 +1424,8 @@ processQueryResponse(struct module_qstate* qstate, struct iter_qstate* iq,
|
|||
iq->response->rep, iq->response->rep->an_numrrsets,
|
||||
iq->response->rep->an_numrrsets
|
||||
+ iq->response->rep->ns_numrrsets);
|
||||
if(!ns) find_NS(iq->response->rep, 0,
|
||||
iq->response->rep->an_numrrsets);
|
||||
if(!ns || !dname_strict_subdomain_c(ns->rk.dname, iq->dp->name)
|
||||
|| !dname_subdomain_c(iq->qchase.qname, ns->rk.dname)){
|
||||
verbose(VERB_ALGO, "bad referral, throwaway");
|
||||
|
|
|
|||
Loading…
Reference in a new issue