Commit graph

876 commits

Author SHA1 Message Date
Brian Wellington
24a4a1954a check for empty arg list 2000-06-08 21:45:43 +00:00
David Lawrence
f6751e3b0e use a dns_dbtype_* identifier when assigning to a dns_dbttype_t, not an
isc_boolean_t
2000-06-08 20:49:46 +00:00
Andreas Gustafsson
e9918d6a9d some tests now run 5 name servers 2000-06-08 18:18:23 +00:00
Andreas Gustafsson
40689ca042 cut-and-paste-o in comment 2000-06-08 18:16:56 +00:00
Brian Wellington
d77d75c1c3 Conform to the updated DST API, only use 1 task instead of 2. 2000-06-08 17:24:44 +00:00
Andreas Gustafsson
bb8c4de35f soacount and nscount are gone 2000-06-08 17:00:52 +00:00
Andreas Gustafsson
e9f871a352 did not compile due to typo in previous change 2000-06-08 16:58:39 +00:00
James Brister
71a4339351 Empty named.conf file and empty options statement are now parsed properly.
New cachesize option for named.conf

Fixed incorrect warning about auth-nxdomain usage.
2000-06-08 12:04:56 +00:00
Mark Andrews
f357e4e87d Additional changes relating to the change to 3 db types. 2000-06-08 06:50:22 +00:00
Brian Wellington
8463f40039 Add ns5, a configuration with a bad trusted key. 2000-06-08 02:01:07 +00:00
Brian Wellington
12a4b33723 Put the bad trusted key in place on ns5 2000-06-08 01:58:04 +00:00
Brian Wellington
f3a7310c12 print the correct script name in error message 2000-06-08 01:57:41 +00:00
Brian Wellington
35a680bf40 5 hosts 2000-06-08 01:43:40 +00:00
Mark Andrews
0380c44d02 241. [cleanup] nscount and soacount have been removed from the
dns_master_*() arguement lists.
2000-06-07 03:30:02 +00:00
Mark Andrews
a6733246ea 240. [func] databases now come in three flavours: zone, cache
and stub.
2000-06-07 02:38:41 +00:00
Michael Graff
fbb2ab3056 md5 endian doesn't seem to matter? 2000-06-07 02:21:39 +00:00
Brian Wellington
0cb394091d The root keyset file (.keyset) wasn't being deleted, since it wasn't matched
by the wildcard.
2000-06-07 01:43:33 +00:00
Michael Graff
3e1178f56e rename sha1_test to hash_test, and test md5 stuff too 2000-06-07 00:48:42 +00:00
Brian Wellington
4e028a06a7 print a message if neither start nor stop is specified 2000-06-07 00:22:30 +00:00
Michael Graff
74da616f07 add sha1 implementation 2000-06-07 00:15:19 +00:00
Andreas Gustafsson
ca793cbfcf run test DNS on port 5300 2000-06-06 23:41:55 +00:00
Andreas Gustafsson
1c4ecfd97e look for server on port 5300, too 2000-06-06 23:40:25 +00:00
David Lawrence
12a75be8c4 all uses of chains were missing calls to rbt_nodechain_invalidate, so some
memory was not getting freed and the chain tests were failing
2000-06-06 23:21:58 +00:00
Brian Wellington
b3ef06344a DST API updates 2000-06-06 22:01:49 +00:00
Andreas Gustafsson
ee03a00244 changed references to 'binary buffer' in comments
to just 'buffer', as there is no longer a distinction between binary
and text buffers
2000-06-06 17:47:54 +00:00
David Lawrence
a2f9be8ab7 DST_R_VERIFYFINALFAILURE -> DST_R_VERIFYFAILURE 2000-06-06 16:26:42 +00:00
David Lawrence
3158797107 updated for recent changes in adb api 2000-06-06 16:22:39 +00:00
David Lawrence
446aa1ec8c style; no functional change 2000-06-06 15:37:41 +00:00
James Brister
a56062920f Removed ipv4 address from listen-on-v6 test case. 2000-06-05 22:16:24 +00:00
James Brister
c78dc8b001 Added new listen-on-v6 config file statement.
Consider it a config file error if a listen-on statement has an IPv6
address in it, or a listen-on-v6 statement has an IPv4 address in it.
2000-06-05 22:08:50 +00:00
James Brister
d5399cc351 Allow a trusted-key's first field (domain-name) be either a quoted or
an unquoted string, instead of requiring a quoted string.
2000-06-05 20:32:01 +00:00
Andreas Gustafsson
813d6c9781 make conf.sh usable from subdirectory test scripts;
use conf.sh from subdirectory test scripts
2000-06-05 19:36:44 +00:00
Andreas Gustafsson
bffe4c151c no need to verify that servers are up as start.sh now
takes care of that; no need to remove dig output before test
2000-06-05 19:07:46 +00:00
James Brister
69b691c962 Support new 'port' clause in config file options section. Causes
'listen-on', 'masters' and 'also-notify' statements to use its value
instead of default (53).
2000-06-04 19:51:22 +00:00
Andreas Gustafsson
e2774cae38 no need to remove dig.out.* before test 2000-06-02 20:54:30 +00:00
Andreas Gustafsson
1de8cd761e verify that servers started successfully, so that the
individual tests don't need to
2000-06-02 20:44:21 +00:00
Brian Wellington
4fe8755480 Use the new DST API 2000-06-02 18:59:33 +00:00
Andreas Gustafsson
487791cd9c exit with nonzero exit status if ifconfig.sh fails 2000-06-02 18:51:35 +00:00
James Brister
98c2f9a111 Support config file trusted-keys and also-notify statemenets in views.
Support config file sig-validity-interval statement in options, views
and zone statements (master zones only).

Logging messages in config module stripped of trailing period.
2000-06-02 15:12:36 +00:00
Michael Sawyer
81a253a185 One more missing file. 2000-06-01 23:45:24 +00:00
Michael Sawyer
f4f73ec517 Add missing files 2000-06-01 23:42:19 +00:00
Andreas Gustafsson
9e411a82b2 terminology: 'zone transfers', not 'domain name transfers';
'zones', not 'domains'
2000-06-01 23:36:59 +00:00
Andreas Gustafsson
b54bfc7cb8 terminology: 'zone transfers', not 'domain name transfers' 2000-06-01 23:26:20 +00:00
Andreas Gustafsson
bf1a55e97b specify the correct master name in the SOA MNAME field;
this should help eliminate unnecessary sending of notifies to the master
2000-06-01 23:24:52 +00:00
David Lawrence
1b6d529cb5 Megacommit of many files.
Mostly, several functions that take pointers as arguments, almost
always char * pointers, had those pointers qualified with "const".
Those that returned pointers to previously const-qualified arguments
had their return values qualified as const.  Some structure members
were qualified as const to retain that attribute from the variables
from which they were assigned.

Several unused functions removed from dispatch_tcp_test.c (left over
from when it was copied from dispatch_test.c).

Minor other ISC style cleanups.
2000-06-01 19:11:07 +00:00
David Lawrence
63ed655d8f "test" target depends on the relevant program being built 2000-06-01 19:09:37 +00:00
Michael Sawyer
ba80bec980 Add query-source 2000-06-01 18:07:48 +00:00
Michael Sawyer
a2b565626b Add additional test to determine if NOTIFY messages are properly handled
during zone transfers.
2000-06-01 17:56:40 +00:00
Michael Graff
d98c74e2ec set the default destination port in the view, and use it when returning addresses from the adb. 2000-06-01 00:30:58 +00:00
Andreas Gustafsson
c17ac5ad17 removed extraneous empty lines 2000-05-31 19:53:41 +00:00