bind9/bin/tests/system
Mark Andrews 00f5ea91cf 4839. [bug] zone.c:zone_sign was not properly determining
if there were active KSK and ZSK keys for
                        a algorithm when update-check-ksk is true
                        (default) leaving records unsigned with one or
                        more DNSKEY algorithms. [RT #46774]
2017-12-05 16:09:47 +11:00
..
acl [master] copyrights/whitespace 2017-11-30 14:51:50 -08:00
additional update copyright notice / whitespace 2017-10-24 23:47:14 +00:00
addzone [master] copyrights 2017-10-11 17:08:21 -07:00
allow_query 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
autosign 4839. [bug] zone.c:zone_sign was not properly determining 2017-12-05 16:09:47 +11:00
builtin [master] simplify prereq checks by using feature-test.c 2016-10-31 16:53:37 -07:00
cacheclean update copyright notice / whitespace 2017-04-22 23:45:41 +00:00
case update copyright notice / whitespace 2017-04-22 23:45:41 +00:00
catz update copyright notice / whitespace 2017-07-26 23:46:18 +00:00
cds allow 10 seconds when checking mtime 2017-11-28 16:32:07 +11:00
chain 4810. [test] The chain system test failed if the IPv6 interfaces 2017-11-08 10:17:03 +11:00
checkconf [master] copyrights 2017-10-29 16:44:55 -07:00
checkds don't add copyright notices 2017-10-29 18:53:07 +11:00
checknames update copyright notice / whitespace 2017-04-22 23:45:41 +00:00
checkzone update copyright notice / whitespace 2017-08-17 23:46:21 +00:00
common 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
cookie update copyright notice / whitespace 2017-09-04 23:46:16 +00:00
coverage update copyright notice / whitespace 2017-09-01 23:45:56 +00: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 [master] dig: retain domain when retrying with tcp 2017-09-11 10:10:16 -07:00
dlv [master] update copyrights that had been missed recently 2017-04-23 17:06:00 -07:00
dlz 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
dlzexternal update copyright notice / whitespace 2017-09-14 23:46:40 +00:00
dns64 update copyright notice / whitespace 2017-09-01 23:45:56 +00:00
dnssec read dig.out.ns3.test$n rather than dig.out.ns2.test$n 2017-10-25 15:02:36 +11:00
dnstap [master] add I: when echoing information about failed tests 2017-09-18 14:15:37 -07:00
dscp 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
dsdigest [master] update copyrights that had been missed recently 2017-04-23 17:06:00 -07:00
dyndb 4774. [bug] <isc/util.h> was incorrectly included in several 2017-10-19 12:26:32 +11:00
ecdsa [master] update copyrights that had been missed recently 2017-04-23 17:06:00 -07:00
eddsa Added Ed25519 support (#44696) 2017-07-31 15:26:00 +02:00
ednscompliance 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
emptyzones update copyright notice / whitespace 2017-04-22 23:45:41 +00:00
fetchlimit 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
filter-aaaa [master] "enable-filter-aaaa" no longer optional 2017-10-25 00:33:51 -07:00
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 update copyright notice / whitespace 2017-04-22 23:45:41 +00:00
gost [master] update copyrights that had been missed recently 2017-04-23 17:06:00 -07:00
inline [master] fix test descriptions 2017-12-04 15:46:56 -08:00
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 update copyright notice / whitespace 2017-09-01 23:45:56 +00:00
legacy [master] update copyrights that had been missed recently 2017-04-23 17:06:00 -07:00
limits update copyright notice / whitespace 2017-04-22 23:45:41 +00:00
logfileconfig [master] Stabilize logfileconfig system test 2017-11-16 08:06:57 +01:00
masterfile 4487. [test] Make system tests work on Windows. [RT #42931] 2016-10-19 17:18:42 +02:00
masterformat update copyright notice / whitespace 2017-10-26 23:45:58 +00:00
metadata specify algorithm 2017-09-01 15:34:38 +10:00
mkeys [master] Minor mkeys system test tweaks [RT #46649] 2017-11-27 10:04:11 +01:00
names 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
notify [master] Do not NOTIFY back the master view from slave views in notify system test 2017-11-08 09:21:16 +01:00
nslookup [master] add missing file 2016-07-21 12:45:15 -07:00
nsupdate [master] Stabilize nsupdate system test [RT #46673] 2017-11-27 10:10:42 +01:00
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 [master] update copyrights that had been missed recently 2017-04-23 17:06:00 -07:00
pipelined [master] completed and corrected the crypto-random change 2017-09-28 10:09:22 -07:00
pkcs11 update copyright notice / whitespace 2017-08-01 23:46:29 +00:00
pkcs11ssl 4487. [test] Make system tests work on Windows. [RT #42931] 2016-10-19 17:18:42 +02:00
reclimit update copyright notice / whitespace 2017-11-21 23:45:29 +00:00
redirect update copyright notice / whitespace 2017-09-01 23:45:56 +00:00
resolver update copyright notice / whitespace 2017-09-19 23:46:23 +00:00
rndc improve forensics 2017-09-28 22:14:30 +10:00
rpz [master] update copyrights 2017-09-11 17:47:12 -07:00
rpzrecurse [master] update copyrights 2017-09-11 17:47:12 -07:00
rrchecker [master] Add support for DOA 2017-10-06 12:22:08 +02:00
rrl update copyright notice / whitespace 2017-04-22 23:45:41 +00:00
rrsetorder update copyright notice / whitespace 2017-04-22 23:45:41 +00:00
rsabigexponent update copyright notice / whitespace 2017-09-18 23:48:50 +00:00
runtime 4804. [port] win32: access() does not work on directories as 2017-11-01 09:29:24 +11:00
serve-stale copyrights 2017-10-12 16:01:23 +11:00
sfcache [master] Refactor mkeys system test 2017-10-30 09:41:24 +01:00
smartsign use 'grep -w' to reduce false negatives 2017-10-26 16:14:30 +11:00
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 [master] update copyrights that had been missed recently 2017-04-23 17:06:00 -07:00
statistics update copyright notice / whitespace 2017-10-28 23:45:38 +00:00
statschannel update copyright notice / whitespace 2017-04-24 23:45:33 +00:00
stress update copyright notice / whitespace 2017-04-22 23:45:41 +00:00
stub update copyright notice / whitespace 2017-04-22 23:45:41 +00:00
synthfromdnssec remove named.memstats and named.run 2017-10-24 12:51:03 +11:00
tcp 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
tkey [master] completed and corrected the crypto-random change 2017-09-28 10:09:22 -07:00
tools 4637 broke old style command line with a salt of '-' [RT #45388] 2017-06-16 12:45:36 +10:00
tsig [master] update copyrights that had been missed recently 2017-04-23 17:06:00 -07:00
tsiggss Move KRB5_CONFIG=/dev/null to conf.sh.* so it gets applied to named and not only the tsiggss test 2017-10-10 12:22:10 +02:00
unknown [master] update copyrights that had been missed recently 2017-04-23 17:06:00 -07:00
upforwd [master] update copyrights that had been missed recently 2017-04-23 17:06:00 -07:00
v6synth update copyright notice / whitespace 2017-04-22 23:45:41 +00:00
verify update copyright notice / whitespace 2017-09-01 23:45:56 +00:00
views [master] remove default algorithm in dnssec-keygen 2017-08-30 18:51:11 -07:00
wildcard [master] update copyrights that had been missed recently 2017-04-23 17:06:00 -07:00
win32 [master] add libns and remove liblwres 2017-09-08 13:47:34 -07:00
xfer [master] Add support for DOA 2017-10-06 12:22:08 +02:00
xferquota 4487. [test] Make system tests work on Windows. [RT #42931] 2016-10-19 17:18:42 +02:00
zero [master] update copyrights 2017-09-11 17:47:12 -07:00
zonechecks [master] remove default algorithm in dnssec-keygen 2017-08-30 18:51:11 -07:00
.gitignore [master] simplify prereq checks by using feature-test.c 2016-10-31 16:53:37 -07:00
ans.pl [master] update copyrights 2017-09-11 17:47:12 -07:00
clean.sh 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
cleanall.sh [master] add libns and remove liblwres 2017-09-08 13:47:34 -07:00
cleanpkcs11.sh 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
conf.sh.in [master] Replace FNR with NR in the awk script used by nextpart() 2017-10-31 14:57:52 +01:00
conf.sh.win32 set SAMPLEUPDATE under windows; test if SAMPLEUPDATE exists and only run tests if it does 2017-11-11 09:23:44 +11: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 [master] "enable-filter-aaaa" no longer optional 2017-10-25 00:33:51 -07:00
genzone.sh [master] Add support for DOA 2017-10-06 12:22:08 +02: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] DNS Response Policy Service API 2017-09-11 11:57:43 -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 [master] add libns and remove liblwres 2017-09-08 13:47:34 -07:00
run.sh report if named.run or named.memstats not removed after successful test 2017-10-24 12:45:13 +11: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] add libns and remove liblwres 2017-09-08 13:47:34 -07:00
start.sh 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
stop.pl [master] add libns and remove liblwres 2017-09-08 13:47:34 -07:00
stop.sh 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
testcrypto.sh [master] remove default algorithm in dnssec-keygen 2017-08-30 18:51:11 -07:00
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-2017  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)
  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 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.