Aucune description

Jeremy C. Reed e294fee818 Also check for the boost/foreach.hpp header. il y a 15 ans
doc 374f50637f Rename to generic name il y a 15 ans
ext 64593f39e0 added more dependency for asio il y a 15 ans
src 54c0c3a74e Fix command description error. il y a 15 ans
tools fd89e862b5 Move usermgr from "trunk/tools/" to "trunk/src/bin" according Jeremy's suggestion. usermgr can be installed now. 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 f6fb5e78cd add configure switch --disable-configuration-install so can be used il y a 15 ans
NEWS ebf4a1bb2b added a minimal set to build the package. il y a 15 ans
README 2864ad5d1a Add some generic details. il y a 15 ans
configure.ac e294fee818 Also check for the boost/foreach.hpp header. 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 development version of BIND 10.

BIND is the popular implementation of a DNS server, developer
interfaces, and DNS tools. BIND 10 is a rewrite of BIND 9. BIND 10
is written in C++ and Python and provides a modular environment
for serving and maintaining DNS.

BIND10-devel is new development leading up to the production
BIND 10 release. It contains prototype code and experimental
interfaces. Nevertheless it is ready to use now for testing the
new BIND 10 infrastructure ideas. The Year 1 (Y1) deliverable of
the five year plan is described here:

http://bind10.isc.org/wiki/Year1Deliverable

This release includes the bind10 master process, msgq message bus,
b10-auth authoritative DNS server, b10-cmdctl remote control daemon,
b10-cfgmgr configuration manager, and a new libdns library.

Documentation is included and also available via the BIND 10
website at http://bind10.isc.org/

The latest released source may be downloaded from:

ftp://ftp.isc.org/isc/bind10/

Users and developers are encouraged to participate on the BIND 10
mailing lists:

https://lists.isc.org/mailman/listinfo/bind10-users
https://lists.isc.org/mailman/listinfo/bind10-dev

Bugs may be reported as tickets via the developers website:

http://bind10.isc.org/

BUILDING

Simple build instructions:

./configure
make

If building from Subversion repo, run:

autoreconf --install

before running ./configure

Requires autoconf 2.59 or newer.

Use automake-1.11 or better for working Python 3.1 tests.
Alternatively, you could manually specify an absolute path to python
executable by the --with-pythonpath option of the configure script,
e.g.,
% ./configure --with-pythonpath=/usr/local/bin/python3.1

Operating-System specific tips:

- FreeBSD
You may need to install a python binding for sqlite3 by hand. A
sample procedure is as follows:
- add the following to /etc/make.conf
PYTHON_VERSION=3.1
- build and install the python binding from ports, assuming the top
directory of the ports system is /usr/ports
% cd /usr/ports/databases/py-sqlite3/
% make
% sudo make install

INSTALLATION

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/.

DEVELOPERS

The generated run_*.sh scripts available in the src/bin directories
are for running the code using the source tree.

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
> help
BindCtl, verstion 0.1
usage: [param1 = value1 [, param2 = value2]]
Type Tab character to get the hint of module/command/paramters.
Type "help(? h)" for help on bindctl.
Type " help" for help on the specific module.
Type " help" for help on the specific command.

Available module names:
help Get help for bindctl
config Configuration commands
Xfrin same here
Auth same here
Boss same here
> config help
Module config Configuration commands
Available commands:
help (Get help for module)
show (Show configuration)
add (Add entry to configuration list)
remove (Remove entry from configuration list)
set (Set a configuration value)
unset (Unset a configuration value)
diff (Show all local changes)
revert (Revert all local changes)
commit (Commit all local changes)
go (Go to a specific configuration part)
> config show
Xfrin/ module
Auth/ module
Boss/ module
> config show Xfrin
transfers_in: 10 integer
> config go Auth
/Auth> config show
database_file: None string
/Auth> config set database_file /tmp/bind10_zones.db
/Auth> config commit
/Auth> config go /
> config show Auth/
database_file: /tmp/bind10_zones.db string
> config diff
{}
> config set Auth/foobar
Error: missing identifier or value
> config set Auth/database_file foobar
> config diff
{'Auth': {'database_file': 'foobar'}}
> config revert
> config diff
{}
> quit