123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247 |
- <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
- "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
- [<!ENTITY mdash "—">]>
- <!--
- - Copyright (C) 2010 Internet Systems Consortium, Inc. ("ISC")
- -
- - Permission to use, copy, modify, and/or distribute this software for any
- - purpose with or without fee is hereby granted, provided that the above
- - copyright notice and this permission notice appear in all copies.
- -
- - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
- - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
- - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
- - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
- - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
- - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- - PERFORMANCE OF THIS SOFTWARE.
- -->
- <!-- $Id$ -->
- <refentry>
- <refentryinfo>
- <date>March 18, 2010</date>
- </refentryinfo>
- <refmeta>
- <refentrytitle>bindctl</refentrytitle>
- <manvolnum>1</manvolnum>
- <refmiscinfo>BIND10</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>bindctl</refname>
- <refpurpose>control and configure BIND 10</refpurpose>
- </refnamediv>
- <docinfo>
- <copyright>
- <year>2010</year>
- <holder>Internet Systems Consortium, Inc. ("ISC")</holder>
- </copyright>
- </docinfo>
- <refsynopsisdiv>
- <cmdsynopsis>
- <command>bindctl</command>
- </cmdsynopsis>
- </refsynopsisdiv>
- <refsect1>
- <title>DESCRIPTION</title>
- <para>
- The <command>bindctl</command> tool is a user interface to
- the BIND 10 services. The program can be used to control
- the components and configure the BIND 10 options. The options
- may be specified
- <!-- TODO: as command-line arguments, or --> via its
- interactive command interpreter.
- </para>
- <para>
- <command>bindctl</command> communicates over the REST-ful
- interface provided by
- <citerefentry><refentrytitle>b10-cmdctl</refentrytitle><manvolnum>8</manvolnum></citerefentry>.
- The
- <citerefentry><refentrytitle>b10-cfgmgr</refentrytitle><manvolnum>8</manvolnum></citerefentry>
- daemon stores the configurations and defines the commands.
- </para>
- <para>
- The tool will authenticate using a username and password.
- On the first successful login, it will save the details to
- <filename>~/.bind10/default_user.csv</filename>
- which will be used for later uses of <command>bindctl</command>.
- </para>
- <para>
- The <command>bindctl</command> prompt shows
- <quote>> </quote>.
- The prompt will also display the location if changed.
- The options are based on the module in use.
- The usage is:
- <command>module</command> <command>command</command> <replaceable>param1 = value1 , <replaceable>param2 = value2</replaceable></replaceable>
- </para>
- <para>
- <command>bindctl</command>'s
- interactive interface provides command-line completion and
- hints. Press the Tab key to get a hint for the module,
- command, and/or parameters.
- <!-- TODO: no hints at a blank line though ? -->
- The arrow keys and Emacs-style editing keys may be used to edit
- and recall previous lines.
- <!-- TODO: all Emacs-style editing keys? -->
- </para>
- <para>
- You can use the <command>help</command>
- keyword to receive usage assistance for a module or a module's
- command.
- </para>
- <para>
- The <command>quit</command>
- command is used to exit
- <command>bindctl</command>
- (and doesn't stop the BIND 10 services).
- </para>
- <para>
- The following module is available by default:
- <command>config</command> for Configuration commands.
- <!-- TODO: or is config from the cfgmgr module? -->
- Additional modules may be available, such as
- <command>Boss</command>, <command>Xfrin</command>, and
- <command>Auth</command>.
- </para>
- <!--
- .Sh CONFIGURATION COMMANDS
- The following configuration commands are recognized by
- .Nm :
- .Bl -tag -width Ic
- .It Ic add Ar identifier Ar value
- Add a value to a list.
- .\" TODO: explain better
- .\" TODO: define list, map, others ...
- .\" TODO: why the value?
- .It Ic commit
- Commit all local changes.
- .\" TODO: what does this do?
- .It Ic go Ar identifier
- Go to the specified location within the configuration.
- .\" TODO: explain this
- .It Ic help
- Get help for the
- .Em config
- module.
- .It Ic remove Ar identifier Ar value
- Remove a value from a list.
- .\" TODO: why the value?
- .It Ic revert
- Revert all local changes (that have not been committed).
- .\" TODO: what does this do?
- .It Ic set Ar identifier Ar value
- Set a configuration value.
- .\" TODO
- .It Ic show Op Ar identifier.
- .\" TODO
- Show the currently set configuration values.
- If no
- .Ar identifier
- is given, the current location is used (as set by the
- .Ic go
- command).
- If a config option is a list or a map, the value is not
- shown directly, but must be requested separately.
- .\" TODO: example of this list or map
- .It Ic unset Ar identifier
- Remove a configuration value.
- If the option is mandatory, it will reset to the default value.
- .\" TODO: how to know default values before?
- .El
- .\" This manual page only covers builtin commands.
- .\" .Sh PARKINGLOT COMMANDS
- .\" .Bl -tag -width Ic
- .\" .It Ic help
- .\" Get help for the
- .\" .Em ParkingLot
- .\" module.
- .\"
- .\" TODO: Command arguments which have embedded spaces may be quoted with
- .\" quote
- .\" .Sq \&"
- .\" marks.
- .Pp
- .Pp command-line editing?
- .Pp
- .Sh EXAMPLES
- The following are some
- .Nm
- examples:
- .Bl -tag -width abcde
- .It Ic "config help"
- Show the commands for the
- .Em config
- module.
- .It Ic "config go ParkingLot/"
- Go to the
- .Dq ParkingLot/
- configuration location.
- -->
- </refsect1>
- <!-- TODO: any options? -->
- <refsect1>
- <title>SEE ALSO</title>
- <para>
- <citerefentry>
- <refentrytitle>b10-auth</refentrytitle><manvolnum>8</manvolnum>
- </citerefentry>,
- <citerefentry>
- <refentrytitle>b10-cfgmgr</refentrytitle><manvolnum>8</manvolnum>
- </citerefentry>,
- <citerefentry>
- <refentrytitle>b10-cmdctl</refentrytitle><manvolnum>8</manvolnum>
- </citerefentry>,
- <citerefentry>
- <refentrytitle>b10-xfrin</refentrytitle><manvolnum>8</manvolnum>
- </citerefentry>,
- <citerefentry>
- <refentrytitle>bind10</refentrytitle><manvolnum>8</manvolnum>
- </citerefentry>,
- <citetitle>BIND 10 Guide</citetitle>.
- </para>
- <!-- TODO: point to developer docs -->
- </refsect1>
- <refsect1>
- <title>AUTHORS</title>
- <para>
- The <command>bindctl</command>
- tool and library were initially coded by Zhang Likun of CNNIC
- for the BIND 10 project.
- The initial manual page was written by Jeremy C. Reed of ISC.
- </para>
- </refsect1>
- <refsect1>
- <title>HISTORY</title>
- <para>
- The initial version (with internal name of
- <command>BigTool</command>)
- was started in October 2009.
- </para>
- </refsect1>
- </refentry><!--
- - Local variables:
- - mode: sgml
- - End:
- -->
|