BIND 10 #220: suggestions to bindctl

BIND 10 Development do-not-reply at isc.org
Tue Jun 1 22:30:51 UTC 2010


#220: suggestions to bindctl
----------------------+-----------------------------------------------------
 Reporter:  jinmei    |       Owner:  zhanglikun          
     Type:  defect    |      Status:  new                 
 Priority:  minor     |   Milestone:  feature backlog item
Component:  bind-ctl  |    Keywords:                      
Sensitive:  0         |  
----------------------+-----------------------------------------------------
 See trac #219 for background.

 Specific suggestions are:

  - I don't think it makes sense to expect a specific format as acceptable
 "parameter values" as it's very likely that we add more variations of
 parameters. I believe the command parser should only do minimal check like
 "parameter value is a sequecne of non space characters", "quoted string"
 is an string surrounded by quotation marks (such marks themselves can be
 part of the string in an escaped form).
  - I susepct "quota_str" and "QUOTA_PATTERN" are typo, and should be
 "quoted"/"QUOATED"
  - the error message is unfirendly. it should at least identify which part
 of the input causes the error.  A better message would indicate what's
 expected in the erroneous part.  Example:

 {{{
 > Xfrin retransfer master = ns.jinmei.org zone_name = jinmei.org
 Error!  Invalid parameter value for "master".  It must be a numeric IPv6
 (or IPv4 if you live in the 20th century) address.
 }}}

 These are not urgent.  I'm giving this to Likun.

-- 
Ticket URL: <http://bind10.isc.org/ticket/220>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list