bind9/bin/tests/system/README

55 lines
2.1 KiB
Text
Raw Normal View History

2004-03-07 23:04:47 -05:00
Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")
Copyright (C) 2000, 2001 Internet Software Consortium.
See COPYRIGHT in the source root or http://isc.org/copyright.html for terms.
2000-05-15 18:53:15 -04:00
2000-05-15 19:09:42 -04:00
This is a simple test environment for running bind9 system tests
involving multiple name servers.
2000-05-15 18:53:15 -04:00
There are multiple test suites, each in a separate subdirectory and
2000-05-15 19:09:42 -04:00
involving a different DNS setup. They are:
2000-05-15 18:53:15 -04:00
2000-09-18 20:40:14 -04:00
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
2000-05-22 17:29:21 -04:00
notify/ More NOTIFY tests
2000-12-19 14:21:06 -05:00
nsupdate/ Dynamic update and IXFR tests
2000-09-18 20:40:14 -04:00
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
2000-09-18 20:40:14 -04:00
upforwd/ Update forwarding tests
views/ Tests of the "views" statement
2000-12-19 14:21:06 -05:00
xfer/ Zone transfer tests
2000-05-22 17:29:21 -04:00
xferquota/ Zone transfer quota tests
2000-05-15 18:53:15 -04:00
2000-06-08 14:18:23 -04:00
Typically each test suite sets up 2-5 name servers and then performs
2000-05-15 18:53:15 -04:00
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.
2000-05-15 18:53:15 -04:00
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.
2000-05-15 18:53:15 -04:00
2000-06-16 15:51:34 -04:00
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.
2000-05-15 18:53:15 -04:00
2000-06-16 15:51:34 -04:00
The tests can be run individually like this:
2000-05-15 18:53:15 -04:00
sh run.sh xfer
2000-05-22 17:29:21 -04:00
sh run.sh notify
etc.
2000-05-15 18:53:15 -04:00
2000-06-16 15:51:34 -04:00
To run all the tests, just type "make test".
2004-03-07 23:04:47 -05:00
$Id: README,v 1.9.4.2.10.1 2004/03/08 04:04:32 marka Exp $