bind9/bin/tests/system
2000-06-08 22:56:53 +00:00
..
dnssec cut-and-paste-o in comment 2000-06-08 18:16:56 +00:00
notify Make system test run as non-root (provided interface is set up) and add 2000-06-08 22:41:37 +00:00
views Make system test run as non-root (provided interface is set up) and add 2000-06-08 22:41:37 +00:00
xfer Make system test run as non-root (provided interface is set up) and add 2000-06-08 22:41:37 +00:00
xferquota Make system test run as non-root (provided interface is set up) and add 2000-06-08 22:41:37 +00:00
.cvsignore ignore Makefile 2000-05-24 21:46:46 +00:00
clean.sh make conf.sh usable from subdirectory test scripts; 2000-06-05 19:36:44 +00:00
conf.sh make conf.sh usable from subdirectory test scripts; 2000-06-05 19:36:44 +00:00
digcomp.pl Sweeping changes to system test suite 2000-05-18 22:49:29 +00:00
ifconfig.sh Solaris 8's lo0 alias appears to be broken. 2000-06-08 22:56:53 +00:00
Makefile.in Add makefile.in in test suits 2000-05-19 21:55:31 +00:00
README some tests now run 5 name servers 2000-06-08 18:18:23 +00:00
run.sh Make system test run as non-root (provided interface is set up) and add 2000-06-08 22:41:37 +00:00
setup.sh print the correct script name in error message 2000-06-08 01:57:41 +00:00
start.sh check for empty arg list 2000-06-08 21:45:43 +00:00
stop.sh Add copyright entries 2000-05-19 22:45:47 +00:00

This is a simple test environment for running bind9 system tests
involving multiple name servers.

There are multiple test suites, each in a separate subdirectory and
involving a different DNS setup.  They are:

  xfer/		Zone transfer, update, and NOTIFY tests
  notify/	More NOTIFY tests
  xferquota/	Zone transfer quota tests
  dnssec/	DNSSEC tests

Typically each test suite sets up 2-5 name servers and then performs
one or more tests against them.  Within the test suite subdirectory,
each name server has a separate subdirectory containing its
configuration data.  By convention, these subdirectories are named
"ns1", "ns2", etc.

The tests are completely self-contained and do not require access to
the real DNS.  One of the test servers (ns1) is set up as a root
name server and is listed in the hints file of the others.

To enable all servers to run on the same machine, they bind to
separate virtual IP address on the loopback interface.  ns1 runs on
10.53.0.1, ns2 on 10.53.0.2, etc.  Before running any tests, you must
set up these addresses by running the script "ifconfig.sh".

Because the servers run on port 53, the tests must be run as root.

To run the tests:

  sh run.sh xfer

  sh run.sh notify

  etc.

To clean up files left behind by the tests:

  sh clean.sh

$Id: README,v 1.4 2000/06/08 18:18:23 gson Exp $