somedata=true;
if(qtype.getCode()==QType::ANY || ziter->d_type==qtype.getCode() || ziter->d_type==QType::CNAME) // let rest of nameserver do the legwork on this one
ret.push_back(*ziter);
+ else if(ziter->d_type == QType::NS) { // we hit a delegation point!
+ DNSRecord dr=*ziter;
+ dr.d_place=DNSResourceRecord::AUTHORITY;
+ ret.push_back(dr);
+ }
}
if(!ret.empty()) {
LOG(prefix<<qname.toString()<<": exact match in zone '"<<authdomain.toString()<<"'"<<endl);