bind9/bin/tests/system
Vernon Schryver f05089ea5c For rt26172:
Add
      - optional "recursive-only yes|no" to the response-policy statement
      - optional max-policy-ttl to limit the lies that "recursive-only no"
          can introduce into resolvers' caches
      - test that queries with RD=0 are not rewritten by default
      - performance smoke test

    Change encoding of PASSTHRU action to "rpz-passthru".
          (The old encoding is still accepted.)
    Fix rt26180  assert botch in zone_findrdataset() in this branch
         as well.

    Fix missing signatures on NOERROR results despite RPZ hits
        when there are signatures and the client asks for DNSSEC,
2012-06-01 01:03:43 +00:00
..
acl re-remove cvsignore files 2012-03-05 08:29:31 -08:00
addzone update copyright notice 2011-06-17 23:47:49 +00:00
allow_query 2976. [bug] named die on exit after negotiating a GSS-TSIG key. [RT #3415] 2010-12-02 23:22:42 +00:00
autosign regen v9_9 2012-03-07 01:59:30 +00:00
builtin update copyright notice 2011-08-09 04:12:25 +00:00
cacheclean update copyright notice 2012-03-14 23:45:32 +00:00
checkconf update copyright notice 2012-03-10 23:45:42 +00:00
checknames re-remove cvsignore files 2012-03-05 08:29:31 -08:00
checkzone 3051. [bug] NS records obsure DS records at the bottom of the 2011-03-02 04:20:34 +00:00
common update copyright notice 2011-03-12 04:59:49 +00:00
database update copyright notice 2011-03-01 23:48:07 +00:00
dialup re-remove cvsignore files 2012-03-05 08:29:31 -08:00
dlv update copyright notice 2011-05-26 23:47:28 +00:00
dlvauto 3057. [bug] "rndc secroots" would abort after the first error 2011-03-03 16:16:47 +00:00
dlz fix .gitignore files 2012-04-23 08:56:12 -07:00
dlzexternal fix .gitignore files 2012-04-23 08:56:12 -07:00
dname add 23591 no-regression 2011-03-18 21:14:20 +00:00
dns64 3312. [bug] named-checkconf didn't detect a bad dns64 clients acl. 2012-04-26 11:45:14 +10:00
dnssec awk and toupper is not portable, use sed instead 2012-05-21 10:16:22 +10:00
ecdsa add ECDSA support 2012-05-17 15:52:07 -07:00
filter-aaaa 3273. [bug] AAAA responses could be returned in the additional 2012-04-27 13:02:03 +10:00
forward re-remove cvsignore files 2012-03-05 08:29:31 -08:00
glue re-remove cvsignore files 2012-03-05 08:29:31 -08:00
gost update copyright notice 2012-05-17 23:45:48 +00:00
inline regen v9_9 2012-03-07 01:59:30 +00:00
ixfr fix .gitignore files 2012-04-23 08:56:12 -07:00
limits re-remove cvsignore files 2012-03-05 08:29:31 -08:00
logfileconfig update copyright notice 2011-03-22 23:47:30 +00:00
lwresd regen v9_9 2012-03-07 01:59:30 +00:00
masterfile re-remove cvsignore files 2012-03-05 08:29:31 -08:00
masterformat regen v9_9 2012-03-07 01:59:30 +00:00
metadata 3133. [bug] Change #3114 was incomplete. [RT #24577] 2011-07-08 01:43:26 +00:00
notify re-remove cvsignore files 2012-03-05 08:29:31 -08:00
nsupdate update copyright notice 2012-03-10 23:45:42 +00:00
pending update copyright notice 2010-01-18 23:48:40 +00:00
pkcs11 update copyright notice 2010-06-08 23:50:24 +00:00
redirect update copyright notice 2011-03-01 23:48:07 +00:00
relay re-remove cvsignore files 2012-03-05 08:29:31 -08:00
resolver regen v9_9 2012-03-07 01:59:30 +00:00
rndc 3127. [bug] 'rndc thaw' will now remove a zone's journal file 2011-06-10 01:32:38 +00:00
rpz For rt26172: 2012-06-01 01:03:43 +00:00
rrsetorder update copyright notice 2012-01-04 23:46:49 +00:00
smartsign regen v9_9 2012-03-07 01:59:30 +00:00
sortlist re-remove cvsignore files 2012-03-05 08:29:31 -08:00
staticstub update copyright notice 2012-05-21 23:45:36 +00:00
stress re-remove cvsignore files 2012-03-05 08:29:31 -08:00
stub re-remove cvsignore files 2012-03-05 08:29:31 -08:00
tkey re-remove cvsignore files 2012-03-05 08:29:31 -08:00
tsig update copyright notice 2011-11-06 23:46:40 +00:00
tsiggss re-remove cvsignore files 2012-03-05 08:29:31 -08:00
unknown re-remove cvsignore files 2012-03-05 08:29:31 -08:00
upforwd re-remove cvsignore files 2012-03-05 08:29:31 -08:00
v6synth re-remove cvsignore files 2012-03-05 08:29:31 -08:00
views fix .gitignore files 2012-04-23 08:56:12 -07:00
xfer 3313. [protocol] Add TLSA record type. [RT #28989] 2012-04-26 12:36:53 +10:00
xferquota re-remove cvsignore files 2012-03-05 08:29:31 -08:00
zonechecks update copyright notice 2012-03-10 23:45:42 +00:00
.gitignore missed a file in previous commit 2012-04-23 08:57:02 -07:00
ans.pl regen v9_9 2012-03-07 01:59:30 +00:00
cleanall.sh update copyright notice 2007-06-19 23:47:24 +00:00
cleanpkcs11.sh update copyright notice 2010-06-08 23:50:24 +00:00
conf.sh.in update copyright notice 2012-05-17 23:45:48 +00:00
digcomp.pl update copyright notice 2007-06-19 23:47:24 +00:00
genzone.sh update copyright notice 2012-04-26 23:45:39 +00:00
ifconfig.sh update copyright notice 2010-06-11 23:46:49 +00:00
Makefile.in 3189. [test] Added a summary report after system tests. [RT #25517] 2011-11-01 18:35:53 +00:00
org.isc.bind.system 2948. [port] MacOS: provide a mechanism to configure the test 2010-08-25 04:51:51 +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 3097. [test] Add a tool to test handling of malformed packets. 2011-04-15 01:02:08 +00:00
README update copyright notice 2011-01-13 04:59:26 +00:00
run.sh When a prereq.sh file determines that a test can't run because the feature 2010-12-20 21:35:45 +00:00
runall.sh set status to 1 on R:FAIL 2011-12-19 23:08:50 +00:00
send.pl update copyright notice 2011-03-05 23:52:31 +00:00
setup.sh update copyright notice 2007-06-19 23:47:24 +00:00
start.pl regen v9_9 2012-03-07 01:59:30 +00:00
start.sh update copyright notice 2007-06-18 23:47:57 +00:00
stop.pl update copyright notice 2007-06-19 23:47:24 +00:00
stop.sh update copyright notice 2007-06-18 23:47:57 +00:00
testsock.pl update copyright notice 2011-03-01 23:48:07 +00:00
testsock6.pl update copyright notice 2010-06-22 23:46:52 +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 $