Changeset 1447
- Timestamp:
- 12/04/09 14:35:12 (3 years ago)
- Files:
-
- 1 modified
-
trunk/pdns/pdns/syncres.cc (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pdns/pdns/syncres.cc
r1446 r1447 144 144 145 145 range=iter->second.d_records.equal_range(tie(qname)); // partial lookup 146 146 147 147 ret.clear(); 148 148 AuthDomain::records_t::const_iterator ziter; … … 174 174 string nsdomain(qname); 175 175 176 while(chopOffDotted(nsdomain) && nsdomain!=iter->first) {176 while(chopOffDotted(nsdomain) && !iequals(nsdomain, iter->first)) { 177 177 range=iter->second.d_records.equal_range(make_tuple(nsdomain,QType(QType::NS))); 178 178 if(range.first==range.second) … … 185 185 } 186 186 } 187 if(ret.empty()) { 187 if(ret.empty()) { 188 188 LOG<<prefix<<qname<<": no NS match in zone '"<<authdomain<<"' either, handing out SOA"<<endl; 189 189 ziter=iter->second.d_records.find(make_tuple(authdomain, QType(QType::SOA)));