Name Date Size

.. 2018-02-11 01:31:54 77

.gitignore 2016-11-01 01:47:42 41

acl 2017-12-01 00:46:50 8

additional 2017-10-25 01:48:58 7

addzone 2017-12-27 06:26:32 8

allow_query 2016-06-27 06:56:38 6

ans.pl 2017-09-13 01:47:30 13.8 KiB

autosign 2017-12-08 04:50:46 11

builtin 2016-11-01 01:47:42 7

cacheclean 2016-08-29 20:56:56 8

case 2016-06-27 06:56:38 10

catz 2018-01-16 00:47:32 8

chain 2017-11-08 00:18:23 13

checkconf 2018-02-11 01:31:54 112

checkds 2016-10-19 17:21:13 20

checknames 2016-06-27 06:56:38 9

checkzone 2018-01-23 00:47:25 6

clean.sh 2016-06-27 06:56:38 531

cleanall.sh 2016-06-27 06:56:38 815

cleanpkcs11.sh 2016-06-27 06:56:38 486

common 2016-06-27 06:56:38 6

conf.sh.in 2017-11-02 06:50:52 6.1 KiB

conf.sh.win32 2017-11-10 23:25:30 6.6 KiB

cookie 2017-09-02 01:46:54 14

coverage 2016-06-27 06:56:38 17

database 2016-06-27 06:56:38 6

delzone 2016-07-22 05:06:52 7

dialup 2016-06-27 06:56:38 7

digcomp.pl 2016-11-01 01:47:42 2.4 KiB

digdelv 2017-09-11 19:10:38 8

ditch.pl 2016-06-27 06:56:38 2 KiB

dlv 2016-10-19 17:21:13 12

dlz 2016-06-27 06:56:38 7

dlzexternal 2017-09-15 01:48:31 10

dns64 2016-07-13 02:58:46 9

dnssec 2017-10-25 06:03:18 17

dnstap 2017-12-23 00:46:35 29

dscp 2016-06-27 06:56:38 11

dsdigest 2016-10-19 17:21:13 10

dyndb 2017-10-18 15:32:53 8

ecdsa 2016-06-27 06:56:38 8

eddsa 2017-08-07 23:23:01 8

ednscompliance 2016-06-27 06:56:38 5

emptyzones 2016-06-27 06:56:38 6

feature-test.c 2017-12-21 00:47:04 3.5 KiB

fetchlimit 2016-06-27 06:56:38 9

filter-aaaa 2017-10-16 09:46:02 12

formerr 2016-06-27 06:56:38 9

forward 2016-06-27 06:56:38 13

genzone.sh 2017-10-06 00:56:41 11.2 KiB

geoip 2016-11-01 01:47:42 9

glue 2016-06-27 06:56:38 10

gost 2016-06-27 06:56:38 8

ifconfig.bat 2016-10-19 17:21:13 1.1 KiB

ifconfig.sh 2016-10-19 17:21:13 5.3 KiB

inline 2018-01-04 00:46:13 15

integrity 2017-01-13 00:46:13 5

ixfr 2016-06-27 06:56:38 10

keymgr 2017-08-02 01:47:30 28

legacy 2016-06-27 06:56:38 13

limits 2016-06-27 06:56:38 10

logfileconfig 2017-11-17 00:46:02 6

lwresd 2016-10-19 17:21:13 9

Makefile.in 2016-11-02 03:17:23 1.3 KiB

masterfile 2016-10-19 17:21:13 8

masterformat 2017-10-27 01:46:46 9

metadata 2017-08-21 10:21:58 8

mkeys 2017-11-27 10:05:15 11

names 2016-06-27 06:56:38 6

notify 2017-11-09 00:46:04 10

nslookup 2016-07-21 09:45:39 6

nsupdate 2018-01-23 00:47:25 17

nzd2nzf 2016-07-26 21:16:15 7

org.isc.bind.system 2016-06-27 06:56:38 490

org.isc.bind.system.plist 2010-08-25 06:51:51 425

packet.pl 2016-06-27 06:56:38 2.4 KiB

pending 2016-10-19 17:21:13 10

pipelined 2017-08-30 01:47:49 16

pkcs11 2017-08-02 01:47:30 8

pkcs11ssl 2016-10-19 17:21:13 8

README 2016-06-27 06:56:38 2.8 KiB

reclimit 2017-11-22 00:46:04 11

redirect 2016-06-27 06:56:38 11

resolver 2017-09-13 01:47:30 14

rndc 2018-01-14 00:48:14 13

rpz 2017-03-01 14:34:17 21

rpzrecurse 2018-01-04 00:46:13 14

rrchecker 2017-10-06 00:56:41 7

rrl 2016-11-03 04:56:27 11

rrsetorder 2016-10-19 17:21:13 33

rsabigexponent 2016-10-19 17:21:13 13

run.sh 2017-10-23 15:45:50 2.7 KiB

runall.sh 2016-06-27 06:56:38 1,018

runtime 2017-12-13 00:26:58 7

send.pl 2016-06-27 06:56:38 785

setup.sh 2016-06-27 06:56:38 651

sfcache 2016-10-19 17:21:13 10

smartsign 2017-02-03 08:39:57 8

sortlist 2016-10-19 17:21:13 5

spf 2016-06-27 06:56:38 5

start.pl 2017-05-25 01:45:56 8.4 KiB

start.sh 2016-06-27 06:56:38 395

staticstub 2016-10-19 17:21:13 12

statistics 2016-11-01 01:47:42 9

statschannel 2017-04-25 01:46:02 16

stop.pl 2016-10-19 17:21:13 3.9 KiB

stop.sh 2016-06-27 06:56:38 396

stress 2016-06-27 06:56:38 12

stub 2016-06-27 06:56:38 9

tcp 2016-06-27 06:56:38 8

testcrypto.sh 2017-08-02 01:47:30 1.5 KiB

testsock.pl 2016-06-27 06:56:38 1,006

testsock6.pl 2016-06-27 06:56:38 673

tkey 2016-10-19 17:21:13 10

tsig 2016-06-27 06:56:38 6

tsiggss 2017-10-11 17:51:03 8

unknown 2016-10-19 17:21:13 11

upforwd 2016-10-19 17:21:13 14

v6synth 2016-06-27 06:56:38 7

verify 2017-08-15 01:49:57 8

views 2016-06-27 06:56:38 9

wildcard 2016-10-19 17:21:13 11

win32 2017-04-19 16:42:39 44

xfer 2017-10-06 00:56:41 17

xferquota 2016-10-19 17:21:13 8

zero 2017-09-13 01:47:30 10

zonechecks 2016-10-19 17:21:13 15

README

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