Commit Graph
1452 Commits
Author SHA1 Message Date
Brian Wellington ef9f3246f4 _version zone wasn't set to dns_rdataclass_ch 2000-05-23 01:21:32 +00:00
Brian Wellington 9c2a9c5306 the server could crash if the version string was unassigned. 2000-05-23 00:40:59 +00:00
Michael Sawyer d81a745bbb Longer sleep needed for reliable fix to SIGHUP problem 2000-05-23 00:02:45 +00:00
Michael Sawyer 0334d82cad Workaround for SIGHUP-without-delay bug 2000-05-22 23:56:49 +00:00
Michael Sawyer 1da88f8208 Forcably prevent callbacks from trying to do something once the lists
start to get freed up.
2000-05-22 22:56:31 +00:00
Michael Sawyer 02bc88821c tests.sh 2000-05-22 22:19:07 +00:00
Andreas Gustafsson a185ac41ac updated 2000-05-22 21:29:21 +00:00
Michael Graff 5d1bfe4ce1 make these compile. dispatch_test works; dispatch_tcp_test does not. Use dns_message_totext() rather than printmessage(). 2000-05-22 19:36:34 +00:00
Andreas Gustafsson a228ba1fa4 conform to recent ratelimiter API changes 2000-05-22 18:32:51 +00:00
Andreas Gustafsson 87796a03ed added shell variable DIG containing the pathname of dig 2000-05-22 17:31:45 +00:00
Andreas Gustafsson cb726f24e7 renamed variable tzone to dupzone for clarity and simplified
code to clean it up after use - no functional change
2000-05-22 17:07:43 +00:00
Andreas Gustafsson c512030111 style; improved error handling; set SOA timers to
lower values so that retries and refreshes can be observed
2000-05-22 16:35:36 +00:00
Andreas Gustafsson 9b50fc6648 style nits 2000-05-22 16:34:32 +00:00
Andreas Gustafsson 7fa1c9722b set a query source so that notify packets get sent with
the correct source address and are accepted by the slave as coming
from a master
2000-05-22 16:34:06 +00:00
Andreas Gustafsson 5b83a15556 new test data was written to the wrong file (a.example.db
instead of example.db); removed spurious semicolon from 'status=0' assignment
2000-05-22 16:32:20 +00:00
Andreas Gustafsson 1c628a47a5 failure in sending response to client was not logged 2000-05-22 16:03:31 +00:00
Andreas Gustafsson 224553741e send notifies after dynamic update 2000-05-22 16:01:58 +00:00
Mark Andrews 9f20f5913b add dns_rdata_fromstuct() 2000-05-22 12:31:39 +00:00
Michael Sawyer 3d02ab0d2d osf doesn't get path right. 2000-05-20 01:01:28 +00:00
Michael Sawyer 208c4f45c8 clean up test output 2000-05-19 23:55:37 +00:00
Michael Sawyer d349843282 Add copyright entries 2000-05-19 22:45:47 +00:00
Michael Sawyer 344556c188 Add makefile.in in test suits 2000-05-19 21:55:31 +00:00
Michael Graff 46993e1d9d Merge the mlg-20000518 branch onto the mainline. Change summary:
dns_dispatch_create() no longer exists.  dns_dispatch_createtcp()
	and dns_dispatch_getudp() are the replacements.  _createtcp() takes
	a bound, connected TCP socket, while _getudp() will search for
	a sharable UDP socket, and if found, attach to it and return a
	pointer to it.  If one is not found, it will create a udp socket,
	bind it to a supplied local address, and create a new dispatcher
	around it.

	dns_dispatch_remove{request,response}() no longer take the dispatch
	as an argument.

	query-source can now be set per view.

	The dispatch manager holds onto three memory pools, one for
	allocating dispatchers from, one for events, and one for
	requests/replies.  The free list on these pools is hard-coded,
	but set to 1024.  This keeps us from having to dig into the
	isc_mem_t the pools draw from as often.

	dns_resolver_create() and dns_view_createresolver() require that
	valid dispatchers be passed in; dispatchers are no longer created
	for the caller.
2000-05-19 21:46:46 +00:00
Michael Sawyer 5a3e08cbb2 Add views test 2000-05-19 21:23:23 +00:00
Michael Sawyer fa0d3114ae Typo 2000-05-19 20:46:24 +00:00
Michael Sawyer bd334e0366 Add notify test suite 2000-05-19 18:01:27 +00:00
Michael Sawyer 4e0dc7b50c Add option to bind to a specified address 2000-05-19 17:54:04 +00:00
Mark Andrews 93d2839b39 additional dns_rdata_{tostruct,freestruct}() testing. 2000-05-19 13:29:46 +00:00
Andreas Gustafsson ea96c33a39 call dns_zone_setview() once and for all when creating a zone;
do not call it again when reconfiguring
2000-05-19 02:34:23 +00:00
Mark Andrews 5fcf1b4f16 Add dns_rdata_tostruct() to tests suite -S 2000-05-19 01:49:19 +00:00
Brian Wellington c50936eb40 changed dst_key_free() prototype, misc. dst cleanup 2000-05-19 00:20:59 +00:00
David Lawrence 6a6b556d9d gcc (ANSI?) won't inline a variable arg function, but there wasn't much point
to inlining fatal() anyway.
2000-05-18 23:28:30 +00:00
Michael Sawyer 8d837d2669 Add host install 2000-05-18 22:53:15 +00:00
Michael Sawyer a92428ecb8 Sweeping changes to system test suite 2000-05-18 22:49:29 +00:00
Michael Sawyer ff301f59ea Typo 2000-05-18 22:12:04 +00:00
Brian Wellington acd5445e00 use the new names in program output 2000-05-18 22:04:02 +00:00
Andreas Gustafsson 95be83b467 DNSSEC tools now have a new home 2000-05-18 21:45:10 +00:00
Andreas Gustafsson 5b5039637d moving DNSSEC tools from bin/tests 2000-05-18 21:15:40 +00:00
David Lawrence 47e816aef7 isc_time_add() now returns isc_result_t. 2000-05-18 17:22:40 +00:00
David Lawrence f23a324764 isc_time_add() and isc_time_subtract() now return isc_result_t. 2000-05-18 17:22:20 +00:00
Brian Wellington 245d9f25a7 better wildcard warning 2000-05-18 17:14:35 +00:00
Michael Sawyer 88e216c7b4 Remove duplicate printing of greeting message 2000-05-18 01:32:53 +00:00
Michael Sawyer b437fa469e Correct bug in batch file handling 2000-05-18 01:21:19 +00:00
Brian Wellington e021965f29 Null keys were improperly generated. 2000-05-18 01:11:48 +00:00
Michael Sawyer 78ad076390 Fix typo in ifconfig script and add dnssec clean script 2000-05-17 23:15:32 +00:00
Brian Wellington 81ab85fd39 dst function name cleanup 2000-05-17 22:48:10 +00:00
Michael Sawyer 02fdafbf53 Add missing files 2000-05-17 22:38:50 +00:00
Michael Sawyer d98372394f Addition of test suite. 2000-05-17 22:10:42 +00:00
Brian Wellington 7a152bdae3 Use a database to store the zone, not a zone object. 2000-05-17 19:58:15 +00:00
Andreas Gustafsson 22608315e8 Fixed multiple shutdown cleanup bugs in the zone object. This
involved extensive restructuring of the reference counting of
zones and related objects.

Zones now attach to their views.  To avoid a circular dependency that
would keep views from ever shutting down, this is done using the new
functions dns_view_weakattach() / dns_view_weakdetach() which
guarantee that the view will not be freed but still allow it
to be shut down.

The zones themselves now only have a single reference count, with
similar "weak" semantics.  Managed zones must now be shut down
explicitly by calling dns_zone_shutdown().  To shut down all
zones in a zone table, call dns_zt_shutdown().

The zone manager is now reference counted, weakly. To shut down the
zone manager, you must explicitly call dns_zonemgr_shutdown().
2000-05-17 19:45:36 +00:00