Show
Ignore:
Timestamp:
05/12/07 12:22:50 (3 years ago)
Author:
ahu
Message:

Andre Lorbach of Adiscon discovered the microsoft windows 2003 nameserver adds out of zone data to zonetransfers, which we need to ignore, instead of rejecting the entire zone.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/pdns/pdns/communicator.cc

    r1018 r1048  
    8484      for(Resolver::res_t::iterator i=recs.begin();i!=recs.end();++i) { 
    8585        if(!endsOn(i->qname, domain)) {  
    86           L<<Logger::Error<<"Remote "<<remote<<" sneaked in out-of-zone data '"<<i->qname<<"' during AXFR of zone '"<<domain<<"'"<<endl; 
    87           di.backend->abortTransaction(); 
    88           return; 
     86          L<<Logger::Error<<"Remote "<<remote<<" tried to sneak in out-of-zone data '"<<i->qname<<"' during AXFR of zone '"<<domain<<"', ignoring"<<endl; 
     87          continue; 
    8988        } 
    9089        i->domain_id=domain_id;