bind9/bin/tests/system
Mark Andrews a85cc69ead use RANDFILE rather than /dev/urandom
(cherry picked from commit 4bc581ca31)
2014-09-29 23:39:36 +10:00
..
acl update copyright notice 2014-08-07 23:46:33 +00:00
additional update copyright notice 2013-09-16 23:45:26 +00:00
addzone update copyright notice 2014-05-07 23:46:40 +00:00
allow_query update copyright notice 2013-09-16 23:45:26 +00:00
autosign use $PERL 2014-06-24 13:54:24 +10:00
builtin update copyright notice 2014-09-05 23:47:07 +00:00
cacheclean 3667. [func] dig: add support to keep the TCP socket open between 2013-11-13 11:08:05 +11:00
case update copyright notice 2014-03-06 23:45:15 +00:00
checkconf 3958. [bug] Detect when writeable files have multiple references 2014-09-29 12:08:52 +10:00
checknames update copyrights 2014-06-11 10:29:51 +10:00
checkzone update copyrights 2014-06-11 10:29:51 +10:00
common update copyright notice 2011-03-12 04:59:19 +00:00
database update copyright notice 2012-06-29 23:45:32 +00:00
dialup update copyright notice 2012-06-29 23:45:32 +00:00
dlv [v9_8] use posix-compatible shell in system tests 2014-05-06 22:23:09 -07:00
dlvauto [v9_8] use posix-compatible shell in system tests 2014-05-06 22:23:09 -07:00
dlz update copyright notice 2013-04-29 23:45:26 +00:00
dlzexternal update copyright notice 2014-06-16 23:46:35 +00:00
dname update copyright notice 2012-06-29 23:45:32 +00:00
dns64 update copyrights 2014-05-30 09:44:32 +10:00
dnssec use RANDFILE rather than /dev/urandom 2014-09-29 23:39:36 +10:00
ecdsa [v9_8] use posix-compatible shell in system tests 2014-05-06 22:23:09 -07:00
emptyzones update copyright notice 2014-01-17 23:45:31 +00:00
filter-aaaa [v9_8] update gitignore files; use rev-parse to get srcid 2014-06-17 13:59:44 -07:00
formerr update copyright notice 2014-02-17 23:45:30 +00:00
forward update copyright notice 2013-08-16 23:45:26 +00:00
glue update copyright notice 2013-09-18 23:45:30 +00:00
gost [v9_8] use posix-compatible shell in system tests 2014-05-06 22:23:09 -07:00
ixfr [v9_8] update gitignore files; use rev-parse to get srcid 2014-06-17 13:59:44 -07:00
limits update copyright notice 2012-06-29 23:45:32 +00:00
logfileconfig update copyright notice 2014-05-07 23:46:40 +00:00
lwresd update copyright notice 2013-03-05 23:45:28 +00:00
masterfile update copyright notice 2012-12-20 23:45:21 +00:00
masterformat update copyright notice 2014-06-19 23:46:53 +00:00
metadata [v9_8] use posix-compatible shell in system tests 2014-05-06 22:23:09 -07:00
notify update copyright notice 2012-06-29 23:45:32 +00:00
nslookup update copyright notice 2014-08-21 23:46:37 +00:00
nsupdate 3880. [test] Update ans.pl to work with new TSIG support in 2014-06-17 10:36:46 +10:00
pending [v9_8] use posix-compatible shell in system tests 2014-05-06 22:23:09 -07:00
pkcs11 [v9_8] missed sourcing conf.sh 2014-05-06 22:47:52 -07:00
relay update copyright notice 2012-06-29 23:45:32 +00:00
resolver update copyrights 2014-07-08 12:43:13 +10:00
rndc update copyright notice 2014-08-23 23:46:40 +00:00
rpz give the nameserver a little longer to response 2014-09-18 10:10:29 +10:00
rrsetorder update copyright notice 2014-05-07 23:46:40 +00:00
smartsign [v9_8] use posix-compatible shell in system tests 2014-05-06 22:23:09 -07:00
sortlist update copyright notice 2012-06-29 23:45:32 +00:00
spf update copyrights 2014-06-11 10:29:51 +10:00
staticstub [v9_8] use posix-compatible shell in system tests 2014-05-06 22:23:09 -07:00
stress update copyright notice 2014-05-07 23:46:40 +00:00
stub update copyright notice 2012-06-29 23:45:32 +00:00
tkey [v9_8] use posix-compatible shell in system tests 2014-05-06 22:23:09 -07:00
tsig update copyright notice 2012-10-18 23:45:39 +00:00
tsiggss cleanup nsupdate.out 2014-06-25 16:17:07 +10:00
unknown [v9_8] use posix-compatible shell in system tests 2014-05-06 22:23:09 -07:00
upforwd update copyright notice 2013-06-03 23:45:27 +00:00
v6synth update copyright notice 2012-06-29 23:45:32 +00:00
views update copyright notice 2012-06-29 23:45:32 +00:00
wildcard [v9_8] use posix-compatible shell in system tests 2014-05-06 22:23:09 -07:00
xfer 3953. [bug] Don't escape semi-colon in TXT fields. [RT #37159] 2014-09-27 12:15:02 +10:00
xferquota update copyright notice 2012-06-29 23:45:32 +00:00
zero update copyright notice 2014-05-07 23:46:40 +00:00
zonechecks [v9_8] check correctly for duplicate zone error message 2014-09-03 12:59:18 -07:00
.gitignore [v9_8] testcrypto.sh in system tests 2014-02-06 16:17:10 -08:00
ans.pl update copyright notice 2014-06-17 23:46:35 +00:00
cleanall.sh update copyright notice 2014-05-07 23:46:40 +00:00
cleanpkcs11.sh 3354. [func] Improve OpenSSL error logging. [RT #29932] 2012-07-23 15:10:41 +10:00
conf.sh.in 3917. [bug] dig, nslookup and host now continue on names that are 2014-08-21 18:11:52 +10:00
digcomp.pl update copyright notice 2013-09-18 23:45:30 +00:00
genzone.sh 3953. [bug] Don't escape semi-colon in TXT fields. [RT #37159] 2014-09-27 12:15:02 +10:00
ifconfig.sh update copyright notice 2013-01-21 23:45:21 +00:00
Makefile.in [v9_8] [rt37057] server-id tests 2014-09-05 10:15:48 -07:00
org.isc.bind.system update copyright notice 2012-06-29 23:45:32 +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 reverse bad copyright update 2012-06-29 11:43:12 +10:00
README update copyright notice 2011-01-13 04:59:26 +00:00
run.sh fix test to see if $PERL is set 2014-06-13 11:47:51 +10:00
runall.sh [v9_8] use posix-compatible shell in system tests 2014-05-06 22:23:09 -07:00
send.pl reverse bad copyright update 2012-06-29 11:43:12 +10:00
setup.sh update copyright notice 2014-05-07 23:46:40 +00:00
start.pl reverse bad copyright update 2012-06-29 11:43:12 +10:00
start.sh update copyright notice 2012-06-29 23:45:32 +00:00
stop.pl update copyright notice 2012-06-29 23:45:32 +00:00
stop.sh update copyright notice 2012-06-29 23:45:32 +00:00
testcrypto.sh [v9_8] use test -r in system tests 2014-04-09 20:29:03 -07:00
testsock.pl update copyright notice 2013-01-09 23:45:26 +00:00
testsock6.pl update copyright notice 2014-04-29 23:46:37 +00:00

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