Changes between Initial Version and Version 1 of CommandLineTool


Ignore:
Timestamp:
May 26, 2009, 2:16:36 PM (8 years ago)
Author:
shane
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CommandLineTool

    v1 v1  
     1Jeremy had an idea for a command line tool:
     2
     3{{{
     4- a command-line tool to load or reload a zone. Examples:
     5
     6bind-zone --reload --file /etc/bind/path/to/foo.example.org \
     7        foo.example.org
     8
     9bind-zone --load --file /etc/bind/path/to/foo.example.org foo.example.org
     10(--load is default, so switch not needed)
     11
     12bind-zone --secondary --file /to/slaves/bar.example.org.db \
     13        bar.example.org
     14(or --slave)
     15
     16bind-zone --secondary --master ns1.example.org \
     17  --master 192.168.1.9 --master ns2 foo.example.net
     18
     19bind-zone --allow-transfer "....." foo.example.org
     20
     21bind-zone --list-zones
     22
     23bind-zone --stop bar.example.org
     24(or maybe --unload?)
     25
     26bind-zone --dynamic foo.example.com
     27
     28bind-zone --allow-query "....." foo.example.org
     29
     30# bind-zone --verbose foo.example.net
     31Zone foo.example.net loaded.
     32foo.example.net 86400   IN      SOA      ....
     3397 zones
     34allow-query .... acl
     35allow-transfer .... acl
     36...
     37
     38(The above is loaded from some default zone locations, could be a standard
     39master file, some XML, in sqllite, etc.)
     40
     41# bind-zone --verbose foo.example.org
     42Zone foo.example.org already loaded.
     43foo.example.net 86400   IN      SOA      ....
     4497 zones
     45....
     46some stats ...
     47
     48bind-zone --stats foo.example.org
     49....
     50}}}