bind9/bin/tests/system
2018-02-07 23:45:53 +00: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 4857. [bug] Maintain attach/detach semantics for event->db, 2018-01-04 10:48:18 +11:00
allow_query 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
auth update copyright notice / whitespace 2018-01-30 23:45:59 +00:00
autosign increment test number 2017-12-08 14:48:31 +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 2018-01-15 23:46:16 +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 update copyright notice / whitespace 2018-02-07 23:45:53 +00: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 2018-01-22 23:46:02 +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 4845. [bug] Dig (non iOS) should exit on malformed names. 2017-12-12 13:43:55 +11: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 update copyright notice / whitespace 2017-12-13 23:45:37 +00:00
dnstap save why ydump.py failed 2017-12-22 16:02:39 +11: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 update copyright notice / whitespace 2018-01-03 23:45:29 +00: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 update copyright notice / whitespace 2018-01-30 23:45:59 +00:00
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 update copyright notice / whitespace 2018-01-22 23:46:02 +00: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 add POST(argv); and POST(argc); 2017-12-22 08:43:49 +11: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 update copyright notice / whitespace 2018-01-13 23:46:00 +00:00
rpz [master] update copyrights 2017-09-11 17:47:12 -07:00
rpzrecurse update copyright notice / whitespace 2018-01-03 23:45:29 +00: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 4846. [test] Adjust timing values in runtime system test. Address 2017-12-13 10:20:09 +11:00
serve-stale copyrights 2017-10-12 16:01:23 +11:00
sfcache update copyright notice / whitespace 2018-01-08 23:45:54 +00: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 add POST(argc); 2017-12-22 08:48:38 +11:00
tools 4637 broke old style command line with a salt of '-' [RT #45388] 2017-06-16 12:45:36 +10:00
tsig dns_dnssec_findmatchingkeys warning test requires crytpo to be supported 2018-01-29 16:35:56 +11: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 update copyright notice / whitespace 2017-12-15 23:45:36 +00: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 4880. [bug] Named wasn't returning the target of a cross zone 2018-01-30 13:10:06 +11: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 4849. [bug] Duplicate zones could appear in the .nzf file if 2017-12-20 17:13:58 +11: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.