[bind10-dev] command line syntax for bind10

ZhangLikun zhanglikun at cnnic.cn
Thu Nov 26 13:13:19 UTC 2009


Paul Vixie wrote:
><http://h71000.www7.hp.com/doc/82final/decnetplus/ncl_ref.pdf> describes
>the "Digital (DEC) Network Command Language" 
>it's a declarative, loud, bossy languageand was well received by the
commercial >I.T. world at that time.

The current implemented command line syntax for bind10 is :
<module_name>  <command_name> [[module_instance = value], command_para1 =
value]
if reload zone data from zone file "example.db", the command will be like:

zone reload zone_name = "example.com." zone_file = example.db

I know I can make the command loud by changing the sequence of module_name
and command_name, just like:
reload zone zone_name = "example.com." zone_file = example.db

If I understand the command syntax of NCL correctly, which is
verb [entity name] [,argument/attribute] [,prep-phrase]
The reload zone command should like:
reload zone example.com. zone_file example.db

*Compare* 
reload zone zone_name = "example.com." zone_file = example.db
*and*
reload zone example.com. zone_file example.db

I *prefer* the former one, because it's more readable. 

Regards,
Zhanglikun




More information about the bind10-dev mailing list