reported by Bryan Seitz
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@893
d19b8d6e-7fed-0310-83ef-
9ca221ded41b
LOG<<prefix<<qname<<": got upwards/level NS record '"<<i->qname<<"' -> '"<<i->content<<"', had '"<<auth<<"'"<<endl;
nsset.insert(i->content);
}
- else if(i->d_place==DNSResourceRecord::AUTHORITY && dottedEndsOn(qname,i->qname) && i->qtype.getCode()==QType::SOA &&
+ else if(!done && i->d_place==DNSResourceRecord::AUTHORITY && dottedEndsOn(qname,i->qname) && i->qtype.getCode()==QType::SOA &&
d_lwr.d_rcode==RCode::NoError) {
LOG<<prefix<<qname<<": got negative caching indication for '"<< (qname+"|"+i->qtype.getName()+"'") <<endl;
ret.push_back(*i);