bind9/bin/tests/system
Andreas Gustafsson b2532f9b3f pullup:
838.   [port]          UnixWare 7.1.1 is now suported by
                        bin/tests/system/ifconfig.sh.
2001-06-06 21:52:00 +00:00
..
common update copyrights on the release branch. 2001-01-09 22:53:46 +00:00
dialup update copyrights on the release branch. 2001-01-09 22:53:46 +00:00
dnssec update copyrights on the release branch. 2001-01-09 22:53:46 +00:00
forward update copyrights on the release branch. 2001-01-09 22:53:46 +00:00
glue update copyrights on the release branch. 2001-01-09 22:53:46 +00:00
limits update copyrights on the release branch. 2001-01-09 22:53:46 +00:00
lwresd update copyrights on the release branch. 2001-01-09 22:53:46 +00:00
notify update copyrights on the release branch. 2001-01-09 22:53:46 +00:00
nsupdate update copyrights on the release branch. 2001-01-09 22:53:46 +00:00
relay update copyrights on the release branch. 2001-01-09 22:53:46 +00:00
resolver update copyrights on the release branch. 2001-01-09 22:53:46 +00:00
sortlist pullup: 2001-01-13 00:05:55 +00:00
stress update copyrights on the release branch. 2001-01-09 22:53:46 +00:00
stub update copyrights on the release branch. 2001-01-09 22:53:46 +00:00
unknown update copyrights on the release branch. 2001-01-09 22:53:46 +00:00
upforwd update copyrights on the release branch. 2001-01-09 22:53:46 +00:00
views update copyrights on the release branch. 2001-01-09 22:53:46 +00:00
xfer update copyrights on the release branch. 2001-01-09 22:53:46 +00:00
xferquota update copyrights on the release branch. 2001-01-09 22:53:46 +00:00
.cvsignore ignore conf.sh 2000-06-19 19:15:25 +00:00
cleanall.sh update copyrights on the release branch. 2001-01-09 22:53:46 +00:00
conf.sh.in update copyrights on the release branch. 2001-01-09 22:53:46 +00:00
digcomp.pl update copyrights on the release branch. 2001-01-09 22:53:46 +00:00
ifconfig.sh pullup: 2001-06-06 21:52:00 +00:00
Makefile.in update copyrights on the release branch. 2001-01-09 22:53:46 +00:00
README edited 2000-12-19 19:21:06 +00:00
run.sh update copyrights on the release branch. 2001-01-09 22:53:46 +00:00
runall.sh update copyrights on the release branch. 2001-01-09 22:53:46 +00:00
setup.sh update copyrights on the release branch. 2001-01-09 22:53:46 +00:00
start.sh update copyrights on the release branch. 2001-01-09 22:53:46 +00:00
stop.sh update copyrights on the release branch. 2001-01-09 22:53:46 +00:00
testsock.pl update copyrights on the release branch. 2001-01-09 22:53:46 +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:

  dnssec/	DNSSEC tests
  forward/	Forwarding tests
  glue/		Glue handling tests
  limits/	Tests of handling of large data (close to server limits)
  lwresd/	Tests of the lightweight resolver library and daemon
  notify/	More NOTIFY tests
  nsupdate/	Dynamic update and IXFR tests
  resolver/     Regression tests for resolver bugs that have been fixed
		(not a complete resolver test suite)
  stub/		Tests of stub zone functionality
  unknown/	Unknown type and class tests
  upforwd/	Update forwarding tests
  views/	Tests of the "views" statement
  xfer/		Zone transfer tests
  xferquota/	Zone transfer quota 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.  Generally, 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 "ifconfig.sh start".

The servers use port 5300 instead of the usual port 53, so they can be
run without root privileges once the interfaces have been set up.

The tests can be run individually like this:

  sh run.sh xfer
  sh run.sh notify
  etc.

To run all the tests, just type "make test".


$Id: README,v 1.9 2000/12/19 19:21:06 gson Exp $