Changeset 1081 for trunk/pdns/pdns/packethandler.cc
- Timestamp:
- 08/11/07 15:52:53 (6 years ago)
- Files:
-
- 1 modified
-
trunk/pdns/pdns/packethandler.cc (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pdns/pdns/packethandler.cc
r1079 r1081 399 399 } 400 400 } 401 if(hits && !found && !rfound && shortcut ) // we found matching qnames but not a qtype 401 if(hits && !found && !rfound && shortcut ) { // we found matching qnames but not a qtype 402 DLOG(L<<"Found matching qname, but not the qtype"<<endl); 402 403 return 2; 404 } 403 405 404 406 if(rfound) … … 654 656 655 657 if(mret==2) { // there is some data, but not of the correct type 658 r->clearRecords(); 656 659 DLOG(L<<"There is some data, but not of the correct type, adding SOA for NXRECORDSET"<<endl); 657 660 SOAData sd; … … 696 699 } 697 700 } 698 699 701 noSameLevelNS=true; 700 702 … … 739 741 // not found yet, try wildcards (we only try here in case of recursion - we should check before we hand off) 740 742 741 if( p->d.rd && d_doRecursion && d_doWildcards) {743 if(mret != 2 && p->d.rd && d_doRecursion && d_doWildcards) { 742 744 int res=doWildcardRecords(p,r,target); 743 745 if(res) { // had a result