set<string, CIStringCompare> nsset;
// LOG<<prefix<<qname<<": determining status after receiving this packet"<<endl;
- bool done=false, realreferral=false, negindic=false;
+ bool done=false;
string newauth, soaname, newtarget;
string qname(".");
vector<DNSResourceRecord> ret;
// Lock l(&s_negcachelock);
// replacing_insert(s_negcache, ne);
}
- negindic=true;
}
else if(i->d_place==DNSResourceRecord::ANSWER && pdns_iequals(i->qname, qname) && i->qtype.getCode()==QType::CNAME && (!(qtype==QType(QType::CNAME)))) {
ret.push_back(*i);
if(moreSpecificThan(i->qname,auth)) {
newauth=i->qname;
// LOG<<prefix<<qname<<": got NS record '"<<i->qname<<"' -> '"<<i->content<<"'"<<endl;
- realreferral=true;
}
else
;// // LOG<<prefix<<qname<<": got upwards/level NS record '"<<i->qname<<"' -> '"<<i->content<<"', had '"<<auth<<"'"<<endl;
// Lock l(&s_negcachelock);
// replacing_insert(s_negcache, ne);
}
- negindic=true;
}
}