bind9/bin/tests/system
2007-08-28 07:18:19 +00:00
..
cacheclean update copyright notice 2005-05-30 02:00:39 +00:00
checkconf 1890. [func] Add a system test for named-checkconf. [RT #14931] 2005-06-23 08:02:37 +00:00
common update copyrights 2004-03-09 06:12:49 +00:00
dialup update copyrights 2004-03-09 06:12:49 +00:00
dnssec cleanup a couple more files 2004-12-14 01:02:50 +00:00
forward copyright 2004-03-15 04:45:07 +00:00
glue update copyright notice 2005-05-30 02:00:39 +00:00
ixfr update copyrights 2004-03-09 06:12:49 +00:00
limits update copyrights 2004-03-09 06:12:49 +00:00
lwresd 1688. [bug] LDFLAGS was not supported. 2004-07-20 07:13:43 +00:00
masterfile 1763. [func] Perform sanity checks on NS records which refer to 2004-11-23 05:23:46 +00:00
notify 1584. [bug] "make test" failed with a readonly source tree. 2004-03-10 01:06:06 +00:00
nsupdate update copyright notice 2005-05-20 01:09:36 +00:00
relay 1584. [bug] "make test" failed with a readonly source tree. 2004-03-10 01:06:06 +00:00
resolver update copyrights 2004-03-09 06:12:49 +00:00
sortlist 1763. [func] Perform sanity checks on NS records which refer to 2004-11-23 05:23:46 +00:00
stress update copyrights 2004-03-09 06:12:49 +00:00
stub update copyrights 2004-03-09 06:12:49 +00:00
tkey update copyright notice 2006-01-04 23:50:18 +00:00
unknown update copyrights 2004-03-09 06:12:49 +00:00
upforwd 1584. [bug] "make test" failed with a readonly source tree. 2004-03-10 01:06:06 +00:00
v6synth update copyrights 2004-03-09 06:12:49 +00:00
views update copyright notice 2005-09-13 00:34:29 +00:00
xfer update copyright notice 2005-11-03 00:02:53 +00:00
xferquota update copyright notice 2005-09-13 00:34:29 +00:00
.cvsignore ignore conf.sh 2000-06-19 19:15:25 +00:00
cleanall.sh update copyrights 2004-03-09 06:12:49 +00:00
conf.sh.in update copyright notice 2005-06-24 00:02:40 +00:00
digcomp.pl update copyrights 2004-03-09 06:12:49 +00:00
ifconfig.sh 1731. [port] darwin: relax version test in ifconfig.sh. 2004-10-05 03:18:54 +00:00
Makefile.in update copyrights 2004-03-09 06:12:49 +00:00
README update copyright notice 2004-03-05 05:14:21 +00:00
run.sh update copyrights 2004-03-09 06:12:49 +00:00
runall.sh update copyrights 2004-03-09 06:12:49 +00:00
send.pl update copyrights 2004-03-09 06:12:49 +00:00
setup.sh update copyrights 2004-03-09 06:12:49 +00:00
start.pl update copyright notice 2005-06-12 00:03:20 +00:00
start.sh update copyright notice 2007-08-28 07:18:19 +00:00
stop.pl update copyrights 2004-03-09 06:12:49 +00:00
stop.sh update copyright notice 2007-08-28 07:18:19 +00:00
testsock.pl update copyrights 2004-03-09 06:12:49 +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 up" as root.

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.4.2 2001/09/17 21:43:09 gson Exp $