bind9/bin/tests/system
2015-05-28 11:06:39 +10:00
..
acl Make named a singleton process [RT#37908] 2014-12-18 12:31:25 +05:30
additional update copyrights 2014-12-19 10:35:15 +11:00
addzone [master] log parsing errors from default config or addzone/modzone 2015-05-21 23:04:29 -07:00
allow_query update copyrights 2014-12-19 10:35:15 +11:00
autosign Make named a singleton process [RT#37908] 2014-12-18 12:31:25 +05:30
builtin link against ISC_OPENSSL_LIBS 2015-05-28 11:06:39 +10:00
cacheclean Make named a singleton process [RT#37908] 2014-12-18 12:31:25 +05:30
case update copyright notice / whitespace 2015-03-01 23:45:20 +00:00
checkconf update copyright notice / whitespace 2015-05-05 23:45:24 +00:00
checkds update copyrights 2014-12-19 10:35:15 +11:00
checknames update copyright notice / whitespace 2015-05-21 23:45:26 +00:00
checkzone update copyright notice / whitespace 2015-03-27 23:45:21 +00:00
common whitspace 2013-09-16 10:14:07 +10:00
coverage Make named a singleton process [RT#37908] 2014-12-18 12:31:25 +05:30
database update copyrights 2014-12-19 10:35:15 +11:00
dialup update copyright notice 2012-06-29 23:45:57 +00:00
digdelv update copyright notice / whitespace 2015-05-22 23:45:24 +00:00
dlv Make named a singleton process [RT#37908] 2014-12-18 12:31:25 +05:30
dlvauto Make named a singleton process [RT#37908] 2014-12-18 12:31:25 +05:30
dlz update copyrights 2014-12-19 10:35:15 +11:00
dlzexternal update copyright notice / whitespace 2015-05-24 23:45:24 +00:00
dname update copyrights 2014-12-19 10:35:15 +11:00
dns64 Make named a singleton process [RT#37908] 2014-12-18 12:31:25 +05:30
dnssec 4127. [protocol] CDS and CDNSKEY need to be signed by the key signing 2015-05-27 15:25:45 +10:00
dscp update copyrights 2014-12-19 10:35:15 +11:00
dsdigest Make named a singleton process [RT#37908] 2014-12-18 12:31:25 +05:30
ecdsa Make named a singleton process [RT#37908] 2014-12-18 12:31:25 +05:30
ednscompliance Make named a singleton process [RT#37908] 2014-12-18 12:31:25 +05:30
emptyzones update copyright notice / whitespace 2015-01-10 23:45:22 +00:00
filter-aaaa Make named a singleton process [RT#37908] 2014-12-18 12:31:25 +05:30
formerr update copyrights 2014-12-19 10:35:15 +11:00
forward update copyrights 2014-12-19 10:35:15 +11:00
geoip Make named a singleton process [RT#37908] 2014-12-18 12:31:25 +05:30
glue update copyrights 2014-12-19 10:35:15 +11:00
gost Make named a singleton process [RT#37908] 2014-12-18 12:31:25 +05:30
inline add some more files to cleanup after successful system test runs 2015-04-21 08:42:09 -04:00
ixfr Make named a singleton process [RT#37908] 2014-12-18 12:31:25 +05:30
legacy ignore dig's result when expecting 'connection timed out' 2015-02-12 13:44:30 +11:00
limits update copyrights 2014-12-19 10:35:15 +11:00
logfileconfig update copyright notice / whitespace 2015-04-21 23:45:21 +00:00
lwresd added print.h includes, updated copyrights 2015-05-23 14:21:51 +02:00
masterfile 4100. [bug] Inherited owernames on the line immediately following 2015-04-15 12:47:57 +10:00
masterformat Make named a singleton process [RT#37908] 2014-12-18 12:31:25 +05:30
metadata Make named a singleton process [RT#37908] 2014-12-18 12:31:25 +05:30
mkeys 4104. [bug] Address uninitialized elements. [RT #39252] 2015-04-17 14:04:47 +10:00
notify update copyright notice / whitespace 2015-01-20 23:45:26 +00:00
nslookup Make named a singleton process [RT#37908] 2014-12-18 12:31:25 +05:30
nsupdate update copyright notice / whitespace 2015-05-05 23:45:24 +00:00
pending update copyright notice / whitespace 2015-05-21 23:45:26 +00:00
pipelined link against ISC_OPENSSL_LIBS 2015-05-28 11:06:39 +10:00
pkcs11 Make named a singleton process [RT#37908] 2014-12-18 12:31:25 +05:30
pkcs11ssl Make named a singleton process [RT#37908] 2014-12-18 12:31:25 +05:30
reclimit [master] check for Net::DNS 2015-05-04 12:51:38 -07:00
redirect restore is_zone on return from redirect lookup [RT #37989b] 2015-05-07 08:32:42 +10:00
resolver link against ISC_OPENSSL_LIBS 2015-05-28 11:06:39 +10:00
rndc link against ISC_OPENSSL_LIBS 2015-05-28 11:06:39 +10:00
rpz update copyright notice / whitespace 2015-05-08 23:45:24 +00:00
rpzrecurse update copyright notice / whitespace 2015-05-22 23:45:24 +00:00
rrchecker update copyrights 2014-12-19 10:35:15 +11:00
rrl update copyrights 2014-12-19 10:35:15 +11:00
rrsetorder update copyrights 2014-12-19 10:35:15 +11:00
rsabigexponent link against ISC_OPENSSL_LIBS 2015-05-28 11:06:39 +10:00
runtime update copyright notice / whitespace 2015-03-04 23:45:21 +00:00
sfcache Make named a singleton process [RT#37908] 2014-12-18 12:31:25 +05:30
sit [master] dig can now learn the SIT value when retrying 2015-04-06 23:16:54 -07:00
smartsign Make named a singleton process [RT#37908] 2014-12-18 12:31:25 +05:30
sortlist update copyrights 2014-12-19 10:35:15 +11:00
spf update copyrights 2014-12-19 10:35:15 +11:00
staticstub update copyright notice / whitespace 2015-03-01 23:45:20 +00:00
statistics update copyrights 2014-12-19 10:35:15 +11:00
stress update copyright notice / whitespace 2015-05-04 23:45:23 +00:00
stub update copyrights 2014-12-19 10:35:15 +11:00
tcp Make named a singleton process [RT#37908] 2014-12-18 12:31:25 +05:30
tkey link against ISC_OPENSSL_LIBS 2015-05-28 11:06:39 +10:00
tsig update copyrights 2014-12-19 10:35:15 +11:00
tsiggss Make named a singleton process [RT#37908] 2014-12-18 12:31:25 +05:30
unknown update copyrights 2014-12-19 10:35:15 +11:00
upforwd update copyright notice / whitespace 2015-04-21 23:45:21 +00:00
v6synth update copyrights 2014-12-19 10:35:15 +11:00
verify Make named a singleton process [RT#37908] 2014-12-18 12:31:25 +05:30
views update copyright notice / whitespace 2015-04-07 23:45:23 +00:00
wildcard Make named a singleton process [RT#37908] 2014-12-18 12:31:25 +05:30
xfer use awk for line count rather that wc -l which may space pad 2015-04-16 12:17:59 +10:00
xferquota update copyrights 2014-12-19 10:35:15 +11:00
zero update copyrights 2014-12-19 10:35:15 +11:00
zonechecks Make named a singleton process [RT#37908] 2014-12-18 12:31:25 +05:30
.gitignore fix .gitignore files 2012-04-23 08:17:26 -07:00
ans.pl 4027. [port] Net::DNS 0.81 compatibility. [RT #38165 2014-12-23 08:37:46 +11:00
cleanall.sh update copyright notice / whitespace 2015-03-02 23:45:21 +00:00
cleanpkcs11.sh update copyrights 2014-01-16 15:19:24 +11:00
conf.sh.in 4125. [test] Added tests for dig, renamed delv test to digdelv. 2015-05-22 11:47:17 -07:00
digcomp.pl update copyright notice 2013-09-05 23:46:16 +00:00
genzone.sh 3997. [protocol] Add OPENGPGKEY record. [RT# 37671] 2014-11-04 12:24:39 +11:00
ifconfig.sh update copyright notice 2013-01-21 23:45:48 +00:00
Makefile.in update copyright notice / whitespace 2015-01-21 23:45:24 +00:00
org.isc.bind.system update copyright notice 2013-06-13 23:46:13 +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 Fix a bug in RPZ that could cause unwanted recursion (#39229) 2015-05-07 08:29:36 +05:30
run.sh fix test to see if $PERL is set 2014-06-13 11:47:23 +10:00
runall.sh [master] use posix-compatible shell in system tests 2014-05-06 22:06:04 -07:00
send.pl update copyright notice 2012-06-29 23:45:57 +00:00
setup.sh update copyright notice 2014-05-07 23:45:21 +00:00
start.pl Add support for Valgrind's helgrind tool (#38706) 2015-03-02 13:42:20 +05:30
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
testcrypto.sh [master] use test -r in system tests 2014-04-09 20:29:52 -07:00
testsock.pl update copyright notice 2013-01-09 23:45:53 +00:00
testsock6.pl update copyright notice 2014-04-29 23:45:21 +00:00

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