bind9/bin/tests/system
Evan Hunt 21a7fde6ba [master] handle servfail at DLZ zone apex
3522.	[bug]		DLZ lookups could fail to return SERVFAIL when
			they ought to. [RT #32685]
2013-03-11 15:54:03 -07:00
..
acl update copyright notice 2012-06-29 23:45:57 +00:00
additional update copyright notice 2013-01-09 23:45:53 +00:00
addzone check that inlineslave.bk and inlineslave.bk.signed exist 2013-02-28 09:01:16 +11:00
allow_query update copyright notice 2013-01-04 23:45:53 +00:00
autosign loop 'I:checking expired signatures were updated' test 2012-12-03 09:30:38 +11:00
builtin update copyright notice 2012-06-29 23:45:57 +00:00
cacheclean update copyright notice 2012-12-20 23:45:48 +00:00
checkconf [master] accept >4g max-{,a}cache-size 2013-02-28 09:29:12 -08:00
checkds update copyright notice 2013-01-02 23:45:51 +00:00
checknames update copyright notice 2012-06-29 23:45:57 +00:00
checkzone update copyright notice 2013-01-10 23:46:00 +00:00
common update copyright notice 2011-03-12 04:59:49 +00:00
database update copyright notice 2012-06-29 23:45:57 +00:00
dialup update copyright notice 2012-06-29 23:45:57 +00:00
dlv update copyright notice 2012-06-29 23:45:57 +00:00
dlvauto use stop.pl to ensure old server is fully shutdown before starting new server 2012-11-08 07:38:13 +11:00
dlz update copyright notice 2012-12-07 23:45:48 +00:00
dlzexternal [master] handle servfail at DLZ zone apex 2013-03-11 15:54:03 -07:00
dlzredir update copyright notice 2012-12-07 23:45:48 +00:00
dname update copyright notice 2012-06-29 23:45:57 +00:00
dns64 update copyright notice 2013-01-17 23:46:25 +00:00
dnssec [master] fix incorrect nsec3 check 2013-01-23 14:56:00 -08:00
dsdigest add dsdigest 2012-10-03 14:04:48 +10:00
ecdsa reverse bad copyright update 2012-06-29 11:39:47 +10:00
filter-aaaa update copyright notice 2012-06-29 23:45:57 +00:00
formerr update copyright notice 2013-01-09 23:45:53 +00:00
forward update copyright notice 2012-06-29 23:45:57 +00:00
geoip update copyrights 2013-03-01 10:39:29 +11:00
glue update copyright notice 2012-06-29 23:45:57 +00:00
gost update copyright notice 2012-06-29 23:45:57 +00:00
inline force integer output 2012-11-17 23:58:50 +11:00
ixfr [master] prevent ixfr/ns1 being removed 2013-01-21 14:16:15 -08:00
limits update copyright notice 2012-06-29 23:45:57 +00:00
logfileconfig update copyright notice 2013-01-05 23:45:47 +00:00
lwresd update copyright notice 2013-03-05 23:46:17 +00:00
masterfile update copyright notice 2012-12-20 23:45:48 +00:00
masterformat update copyright notice 2013-01-25 23:45:56 +00:00
metadata update copyright notice 2013-01-17 23:46:25 +00:00
notify update copyright notice 2012-06-29 23:45:57 +00:00
nsupdate [master] truncate logged rdata if too long 2013-02-20 13:54:52 -08:00
pending update copyright notice 2012-06-29 23:45:57 +00:00
pkcs11 update copyright notice 2013-01-04 23:45:53 +00:00
redirect update copyright notice 2012-06-29 23:45:57 +00:00
relay update copyright notice 2012-06-29 23:45:57 +00:00
resolver 3442. [port] Net::DNS 0.69 introduced a non backwards compatible 2012-12-19 08:46:36 +11:00
rndc update copyright notice 2013-01-02 23:45:51 +00:00
rpz update copyrights 2013-02-27 12:27:58 +11:00
rrl [master] avoid double-free in rrl 2013-02-26 19:15:11 -08:00
rrsetorder reverse bad copyright update 2012-06-29 11:39:47 +10:00
rsabigexponent 3437. [bug] isc_buffer_init -> isc_buffer_constinit to initialise 2012-12-08 12:48:57 +11:00
smartsign update copyright notice 2012-06-29 23:45:57 +00:00
sortlist update copyright notice 2012-06-29 23:45:57 +00:00
staticstub make tests less timing sensitive by spining 2012-09-18 14:49:58 +10:00
statistics 3442. [port] Net::DNS 0.69 introduced a non backwards compatible 2012-12-19 08:46:36 +11:00
stress update copyright notice 2012-06-29 23:45:57 +00:00
stub update copyright notice 2012-06-29 23:45:57 +00:00
tkey 3488. [bug] Use after free error with DH generated keys. [RT #32649] 2013-02-18 20:26:26 +11:00
tsig update copyright notice 2012-10-18 23:46:07 +00:00
tsiggss update copyright notice 2012-06-29 23:45:57 +00:00
unknown DIG -> $DIG 2012-12-08 15:35:01 +11:00
upforwd 3442. [port] Net::DNS 0.69 introduced a non backwards compatible 2012-12-19 08:46:36 +11:00
v6synth update copyright notice 2012-06-29 23:45:57 +00:00
verify update copyright notice 2013-01-23 23:45:55 +00:00
views update copyright notice 2012-06-29 23:45:57 +00:00
wildcard update copyright notice 2013-02-16 23:46:02 +00:00
xfer wait for upstream transfer to complete 2013-03-08 17:14:03 +11:00
xferquota update copyright notice 2012-06-29 23:45:57 +00:00
zonechecks reverse bad copyright update 2012-06-29 11:39:47 +10:00
.gitignore fix .gitignore files 2012-04-23 08:17:26 -07:00
ans.pl sign_tcp_continuation doesn't work with the newer versions of 2012-12-21 12:58:58 +11:00
cleanall.sh test for directory existance before calling find 2012-10-16 10:56:42 +11:00
cleanpkcs11.sh 3354. [func] Improve OpenSSL error logging. [RT #29932] 2012-07-23 15:08:21 +10:00
conf.sh.in [master] DNS RRL 2013-02-25 12:45:56 -08:00
digcomp.pl update copyright notice 2012-06-29 23:45:57 +00:00
genzone.sh update copyright notice 2013-01-09 23:45:53 +00:00
ifconfig.sh update copyright notice 2013-01-21 23:45:48 +00:00
Makefile.in update copyrights 2013-03-01 10:39:29 +11:00
org.isc.bind.system update copyright notice 2012-06-29 23:45:57 +00:00
org.isc.bind.system.plist 2948. [port] MacOS: provide a mechanism to configure the test 2010-08-25 04:51:51 +00:00
packet.pl update copyright notice 2012-06-29 23:45:57 +00:00
README update copyrights 2013-02-27 12:27:58 +11:00
run.sh update copyright notice 2012-06-29 23:45:57 +00:00
runall.sh update copyright notice 2012-06-29 23:45:57 +00:00
send.pl update copyright notice 2012-06-29 23:45:57 +00:00
setup.sh update copyright notice 2012-06-29 23:45:57 +00:00
start.pl limit the number of udp dispatches when testing to 4 2012-11-26 22:11:27 +11:00
start.sh update copyright notice 2012-06-29 23:45:57 +00:00
stop.pl update copyright notice 2012-06-29 23:45:57 +00:00
stop.sh update copyright notice 2012-06-29 23:45:57 +00:00
testsock.pl update copyright notice 2013-01-09 23:45:53 +00:00
testsock6.pl update copyright notice 2012-06-29 23:45:57 +00:00

Copyright (C) 2004, 2010, 2011, 2013  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.

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)
  rrl/		query rate limiting
  rpz/		Tests of response policy zone (RPZ) rewriting
  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.

Mac OS X:
If you wish to make the interfaces survive across reboots
copy org.isc.bind.system and org.isc.bind.system to
/Library/LaunchDaemons then run
"launchctl load /Library/LaunchDaemons/org.isc.bind.system.plist" 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.16 2011/01/13 04:59:24 tbox Exp $