bind9/bin/tests/system
2017-04-22 09:22:44 +05:30
..
acl 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
additional Improve performance for delegation heavy answers and also general query performance (#44029) 2017-04-22 09:22:44 +05:30
addzone update copyright notice / whitespace 2017-02-06 02:58:07 +00:00
allow_query 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
autosign Improve performance for delegation heavy answers and also general query performance (#44029) 2017-04-22 09:22:44 +05:30
builtin [master] simplify prereq checks by using feature-test.c 2016-10-31 16:53:37 -07:00
cacheclean Improve performance for delegation heavy answers and also general query performance (#44029) 2017-04-22 09:22:44 +05:30
case Improve performance for delegation heavy answers and also general query performance (#44029) 2017-04-22 09:22:44 +05:30
catz allow more time for the IPv6 transfer attemt to timeout and fall over to IPv4 2017-03-02 12:19:10 +11:00
checkconf update copyright notice / whitespace 2016-12-26 23:46:20 +00:00
checkds 4487. [test] Make system tests work on Windows. [RT #42931] 2016-10-19 17:18:42 +02:00
checknames Improve performance for delegation heavy answers and also general query performance (#44029) 2017-04-22 09:22:44 +05:30
checkzone update copyright notice / whitespace 2017-04-20 23:45:39 +00:00
common 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
cookie Improve performance for delegation heavy answers and also general query performance (#44029) 2017-04-22 09:22:44 +05:30
coverage 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
database 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
delzone copyrights 2016-07-22 15:58:48 +10:00
dialup 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
digdelv Improve performance for delegation heavy answers and also general query performance (#44029) 2017-04-22 09:22:44 +05:30
dlv Improve performance for delegation heavy answers and also general query performance (#44029) 2017-04-22 09:22:44 +05:30
dlvauto Increase minimum RSA keygen size to 1024 bits (#36895) 2017-04-21 12:00:40 +05:30
dlz 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
dlzexternal Increase minimum RSA keygen size to 1024 bits (#36895) 2017-04-21 12:00:40 +05:30
dname update copyright notice / whitespace 2017-03-01 01:52:56 +00:00
dns64 Increase minimum RSA keygen size to 1024 bits (#36895) 2017-04-21 12:00:40 +05:30
dnssec Improve performance for delegation heavy answers and also general query performance (#44029) 2017-04-22 09:22:44 +05:30
dnstap [master] hex output mode for dnstap-read 2017-04-20 20:22:19 -07:00
dscp 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
dsdigest Increase minimum RSA keygen size to 1024 bits (#36895) 2017-04-21 12:00:40 +05:30
dyndb 4576. [func] The RPZ implementation has been substantially refactored for improved performance and reliability. [RT #43449] 2017-02-20 11:57:28 +01:00
ecdsa Increase minimum RSA keygen size to 1024 bits (#36895) 2017-04-21 12:00:40 +05:30
ednscompliance 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
emptyzones Improve performance for delegation heavy answers and also general query performance (#44029) 2017-04-22 09:22:44 +05:30
fetchlimit 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
filter-aaaa Improve performance for delegation heavy answers and also general query performance (#44029) 2017-04-22 09:22:44 +05:30
formerr 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
forward 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
geoip [master] simplify prereq checks by using feature-test.c 2016-10-31 16:53:37 -07:00
glue Improve performance for delegation heavy answers and also general query performance (#44029) 2017-04-22 09:22:44 +05:30
gost Increase minimum RSA keygen size to 1024 bits (#36895) 2017-04-21 12:00:40 +05:30
inline Increase minimum RSA keygen size to 1024 bits (#36895) 2017-04-21 12:00:40 +05:30
integrity update copyright notice / whitespace 2017-01-12 23:45:41 +00:00
ixfr 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
keepalive Increase minimum RSA keygen size to 1024 bits (#36895) 2017-04-21 12:00:40 +05:30
keymgr 4487. [test] Make system tests work on Windows. [RT #42931] 2016-10-19 17:18:42 +02:00
legacy Increase minimum RSA keygen size to 1024 bits (#36895) 2017-04-21 12:00:40 +05:30
limits Improve performance for delegation heavy answers and also general query performance (#44029) 2017-04-22 09:22:44 +05:30
logfileconfig update copyright notice / whitespace 2017-03-10 23:46:18 +00:00
lwresd 4487. [test] Make system tests work on Windows. [RT #42931] 2016-10-19 17:18:42 +02:00
masterfile 4487. [test] Make system tests work on Windows. [RT #42931] 2016-10-19 17:18:42 +02:00
masterformat Increase minimum RSA keygen size to 1024 bits (#36895) 2017-04-21 12:00:40 +05:30
metadata Increase minimum RSA keygen size to 1024 bits (#36895) 2017-04-21 12:00:40 +05:30
mkeys Increase minimum RSA keygen size to 1024 bits (#36895) 2017-04-21 12:00:40 +05:30
names 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
notify Improve performance for delegation heavy answers and also general query performance (#44029) 2017-04-22 09:22:44 +05:30
nslookup [master] add missing file 2016-07-21 12:45:15 -07:00
nsupdate Improve performance for delegation heavy answers and also general query performance (#44029) 2017-04-22 09:22:44 +05:30
nzd2nzf Fix typos in nzd2nzf test 2016-07-26 21:15:18 +02:00
padding Increase minimum RSA keygen size to 1024 bits (#36895) 2017-04-21 12:00:40 +05:30
pending Increase minimum RSA keygen size to 1024 bits (#36895) 2017-04-21 12:00:40 +05:30
pipelined Increase minimum RSA keygen size to 1024 bits (#36895) 2017-04-21 12:00:40 +05:30
pkcs11 4487. [test] Make system tests work on Windows. [RT #42931] 2016-10-19 17:18:42 +02:00
pkcs11ssl 4487. [test] Make system tests work on Windows. [RT #42931] 2016-10-19 17:18:42 +02:00
reclimit sleep 2 to let in progress lookups complete 2016-10-10 14:35:36 +11:00
redirect Increase minimum RSA keygen size to 1024 bits (#36895) 2017-04-21 12:00:40 +05:30
resolver Improve performance for delegation heavy answers and also general query performance (#44029) 2017-04-22 09:22:44 +05:30
rndc Increase minimum RSA keygen size to 1024 bits (#36895) 2017-04-21 12:00:40 +05:30
rpz Improve performance for delegation heavy answers and also general query performance (#44029) 2017-04-22 09:22:44 +05:30
rpzrecurse update copyright notice / whitespace 2017-02-20 23:45:32 +00:00
rrchecker 4487. [test] Make system tests work on Windows. [RT #42931] 2016-10-19 17:18:42 +02:00
rrl Improve performance for delegation heavy answers and also general query performance (#44029) 2017-04-22 09:22:44 +05:30
rrsetorder Improve performance for delegation heavy answers and also general query performance (#44029) 2017-04-22 09:22:44 +05:30
rsabigexponent Increase minimum RSA keygen size to 1024 bits (#36895) 2017-04-21 12:00:40 +05:30
runtime 4487. [test] Make system tests work on Windows. [RT #42931] 2016-10-19 17:18:42 +02:00
sfcache Improve performance for delegation heavy answers and also general query performance (#44029) 2017-04-22 09:22:44 +05:30
smartsign Increase minimum RSA keygen size to 1024 bits (#36895) 2017-04-21 12:00:40 +05:30
sortlist 4487. [test] Make system tests work on Windows. [RT #42931] 2016-10-19 17:18:42 +02:00
spf 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
staticstub Increase minimum RSA keygen size to 1024 bits (#36895) 2017-04-21 12:00:40 +05:30
statistics [master] simplify prereq checks by using feature-test.c 2016-10-31 16:53:37 -07:00
statschannel Improve performance for delegation heavy answers and also general query performance (#44029) 2017-04-22 09:22:44 +05:30
stress Improve performance for delegation heavy answers and also general query performance (#44029) 2017-04-22 09:22:44 +05:30
stub Improve performance for delegation heavy answers and also general query performance (#44029) 2017-04-22 09:22:44 +05:30
tcp 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
tkey Improve performance for delegation heavy answers and also general query performance (#44029) 2017-04-22 09:22:44 +05:30
tsig Increase minimum RSA keygen size to 1024 bits (#36895) 2017-04-21 12:00:40 +05:30
tsiggss Increase minimum RSA keygen size to 1024 bits (#36895) 2017-04-21 12:00:40 +05:30
unknown Increase minimum RSA keygen size to 1024 bits (#36895) 2017-04-21 12:00:40 +05:30
upforwd Improve performance for delegation heavy answers and also general query performance (#44029) 2017-04-22 09:22:44 +05:30
v6synth Improve performance for delegation heavy answers and also general query performance (#44029) 2017-04-22 09:22:44 +05:30
verify Increase minimum RSA keygen size to 1024 bits (#36895) 2017-04-21 12:00:40 +05:30
views Increase minimum RSA keygen size to 1024 bits (#36895) 2017-04-21 12:00:40 +05:30
wildcard Increase minimum RSA keygen size to 1024 bits (#36895) 2017-04-21 12:00:40 +05:30
win32 4585. [port] win32: Set CompileAS value. [RT #42474] 2017-04-20 12:41:40 +10:00
xfer Improve performance for delegation heavy answers and also general query performance (#44029) 2017-04-22 09:22:44 +05:30
xferquota 4487. [test] Make system tests work on Windows. [RT #42931] 2016-10-19 17:18:42 +02:00
zero Improve performance for delegation heavy answers and also general query performance (#44029) 2017-04-22 09:22:44 +05:30
zonechecks Increase minimum RSA keygen size to 1024 bits (#36895) 2017-04-21 12:00:40 +05:30
.gitignore [master] simplify prereq checks by using feature-test.c 2016-10-31 16:53:37 -07:00
ans.pl 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
clean.sh 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
cleanall.sh 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
cleanpkcs11.sh 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
conf.sh.in [master] hex output mode for dnstap-read 2017-04-20 20:22:19 -07:00
conf.sh.win32 update copyright notice / whitespace 2017-01-05 23:45:24 +00:00
digcomp.pl [master] simplify prereq checks by using feature-test.c 2016-10-31 16:53:37 -07:00
ditch.pl 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
feature-test.c check the value of s 2016-11-15 16:51:36 +11:00
genzone.sh 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
ifconfig.bat 4487. [test] Make system tests work on Windows. [RT #42931] 2016-10-19 17:18:42 +02:00
ifconfig.sh 4487. [test] Make system tests work on Windows. [RT #42931] 2016-10-19 17:18:42 +02:00
Makefile.in [master] make uninstall 2016-11-01 19:17:07 -07:00
org.isc.bind.system 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10: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 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
README 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
run.sh [master] clean up reporting of R:FAIL so it can't spuriously appear mid-test 2016-11-01 13:46:42 -07:00
runall.sh 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
send.pl 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
setup.sh 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
start.pl [master] clean up reporting of R:FAIL so it can't spuriously appear mid-test 2016-11-01 13:46:42 -07:00
start.sh 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
stop.pl 4487. [test] Make system tests work on Windows. [RT #42931] 2016-10-19 17:18:42 +02:00
stop.sh 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
testcrypto.sh Increase minimum RSA keygen size to 1024 bits (#36895) 2017-04-21 12:00:40 +05:30
testsock.pl 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
testsock6.pl 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00

Copyright (C) 2000, 2001, 2004, 2010, 2011, 2013, 2015, 2016  Internet Systems Consortium, Inc. ("ISC")

This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.

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
  rpzrecurse/	Another set of RPZ tests to check recursion behavior
  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".

When running system tests, named and lwresd can be run under
Valgrind. The output from Valgrind are sent to per-process files that
can be reviewed after the test has completed. To enable this, set the
USE_VALGRIND environment variable to "helgrind" to run the Helgrind
tool, or any other value to run the Memcheck tool. To use "helgrind"
effectively, build BIND with --disable-atomic.