BIND 10 #446: configuration knob for in memory data source

BIND 10 Development do-not-reply at isc.org
Wed Dec 22 20:20:41 UTC 2010


#446: configuration knob for in memory data source
---------------------------+------------------------------------------------
      Reporter:  jinmei    |        Owner:  UnAssigned           
          Type:  task      |       Status:  reviewing            
      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         |  
---------------------------+------------------------------------------------
Changes (by jinmei):

  * owner:  jinmei => UnAssigned
  * status:  new => reviewing


Comment:

 branches/trac446 is ready for review.  I've introduced a generic
 configuration framework for AuthSrv, even though it's currently only used
 for the in memory data source configuration.  This is because it's pretty
 clear we'll soon need more configuration knobs for it.  I could actually
 integrate the existing "database_file" config into this framework, but I
 didn't do so at this moment to mimize the amount of code to be reviewed.

 This is the proposed changelog entry, which explains how to play with it
 on b10-auth:
 {{{
   TBD.  [func]*         jinmei
         b10-auth: added a configuration interface to support in memory
         data sources.  For example, the following command to bindctl
         will configure a memory data source containing the "example.com"
         zone with the zone file named "example.com.zone":
         > config set Auth/datasources/ [{"type": "memory", "zones": \
          [{"origin": "example.com", "file": "example.com.zone"}]}]
         By default, the memory data source is disabled; it must be
         configured explicitly.  To disable it again, specify a null list
         for Auth/datasources:
         > config set Auth/datasources/ []
         Notes: it's currently for class IN only.  The zone files are not
         actually loaded into memory yet (which will soon be implemented).
         This is an experimental feature and the syntax may change in
         future versions.
         (Trac #446, svn rTBD)
 }}}

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


More information about the bind10-tickets mailing list