BIND 10 #418: new query logic for in memory data source (1.5)

BIND 10 Development do-not-reply at isc.org
Tue Nov 30 11:39:06 UTC 2010


#418: new query logic for in memory data source (1.5)
---------------------------+------------------------------------------------
      Reporter:  jinmei    |        Owner:  jinmei               
          Type:  defect    |       Status:  new                  
      Priority:  major     |    Milestone:  y2 12 month milestone
     Component:  b10-auth  |   Resolution:                       
      Keywords:            |    Sensitive:  0                    
Estimatedhours:  0.0       |        Hours:  0                    
      Billable:  1         |   Totalhours:  0                    
      Internal:  0         |  
---------------------------+------------------------------------------------

Comment(by jinmei):

 branches/trac418 is ready for review.  Changeset is r3670.

 It should be quite trivial.  The diff may not look short, but most of the
 change is straightforward refactoring of introducing an abstract base zone
 class.

 The intent of the newly introduce find() method is documented.

 And ideas for future changes are also documented.

 With this change, we'll be able to change the Query::process() method of
 trac #415 as follows:
 {{{
     if (result.zone->find(qname_, qtype_).code == AbstractZone::NXDOMAIN)
 {
         response_.setRcode(Rcode::NXDOMAIN());
     }
 }}}
 (instead of hardcode) and will be able to test other cases with a mock
 class zone class (e.g. one that returns an A RRset for
 qname="www.example.com" and qtype="A").

-- 
Ticket URL: <http://bind10.isc.org/ticket/418#comment:1>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list