Aucune description

Jelte Jansen f21f008696 update README with example bindctl session for current Auth il y a 15 ans
doc 4c8e6bbb9e more sync with trunk il y a 15 ans
ext eb27d3af6c Add two missing boost headers as seen on Solaris10 build il y a 15 ans
src 4cc446b110 make ModuleCCSession a subclass of ConfigData, so the module can directly get the configuration data it needs (same as in python version) il y a 15 ans
tools eb27d3af6c Add two missing boost headers as seen on Solaris10 build il y a 15 ans
AUTHORS ebf4a1bb2b added a minimal set to build the package. il y a 15 ans
COPYING ebf4a1bb2b added a minimal set to build the package. il y a 15 ans
ChangeLog ebf4a1bb2b added a minimal set to build the package. il y a 15 ans
INSTALL ba9a64862e lame, but at least non-empty, install file il y a 15 ans
Makefile.am 9bbf5a1452 added $srcdir to cat __init__.py files statements il y a 15 ans
NEWS ebf4a1bb2b added a minimal set to build the package. il y a 15 ans
README f21f008696 update README with example bindctl session for current Auth il y a 15 ans
configure.ac 7922531b91 removed obsolete start shellscript il y a 15 ans
depcomp 6deb954c9e missing il y a 15 ans
install-sh ebf4a1bb2b added a minimal set to build the package. il y a 15 ans
missing ebf4a1bb2b added a minimal set to build the package. il y a 15 ans

README

This is the source for the BIND 10 testing branch known as
the parkinglot. This is a simple authoritative server used
to provide identical records for many zones, such as in
a DNS parking service.


BUILDING

Simple build instructions:

autoreconf
./configure
make

Requires autoconf 2.59 or newer.

Use automake-1.11 or better for working Python 3.1 tests.

Install with:

make install

TEST COVERAGE

Doing code coverage tests:

make coverage
Does the following:

make clean-coverage
Zeroes the lcov code coverage counters and removes the coverage HTML.

make perform-coverage
Runs the C++ tests (using googletests framework).

make report-coverage
Generates the coverage HTML, excluding some unrelated headers.
The HTML reports are placed in a directory called coverage/.

RUNNING

You can start the BIND 10 processes by running bind10 which is
installed to the sbin directory under the installation prefix.
The default location is:

/usr/local/sbin/bind10

For development work, you can also run the bind10 services from the
source tree:

./src/bin/bind10/run_bind10.sh

(Which will use the modules and configurations also from the source
tree.)

The server will listen on port 5300 for DNS requests.

CONFIGURATION

Commands can be given through the bindctl tool.

The server must be running for bindctl to work.

The following configuration commands are available

help: show the different command modules
help: show the commands for module
help: show info for the command


config show [identifier]: Show the currently set values. If no identifier is
given, the current location is used. If a config
option is a list or a map, the value is not
shown directly, but must be requested separately.
config go [identifier]: Go to the given location within the configuration.
config set [identifier] : Set a configuration value.
config unset [identifier]: Remove a value (reverts to default if the option
is mandatory).
config add [identifier] : add a value to a list
config remove [identifier] : remove a value from a list
config revert: Revert all changes that have not been committed
config commit: Commit all changes
config diff: Show the changes that have not been committed yet

EXAMPLE SESSION

~> bindctl
["login success "] login as root
> config show
Auth/ module
Boss/ module
> config show Auth/
database_file: b10-auth.db string
zone_list/ list
> config go Auth
/Auth> config show
database_file: b10-auth.db string
zone_list/ list
/Auth> config show zone_list
/Auth> config add zone example.com
Error: /Auth/zone not found
/Auth> config add zone_list example.com
/Auth> config show zone_list
zone_name: example.com string
/Auth> config show
database_file: b10-auth.db string
zone_list/ list (modified)
/Auth> config go /
> config show Auth/database_file
database_file: b10-auth.db string
> config diff
{'Auth': {'zone_list': ['example.com']}}
> config commit
> config diff
{}
> quit