Commit Graph
389 Commits
Author SHA1 Message Date
Andreas Gustafsson c0564c15e7 Massive cleanup of error handling. Now errors in creating
the server object are always fatal, and errors that occur when
reconfiguring an existing server are always nonfatal.
2000-01-21 23:55:12 +00:00
Brian Wellington bf08eb90e4 use the new TSIG/TKEY code 2000-01-21 20:24:49 +00:00
Andreas Gustafsson cb74b247bf don't needlessly destroy and recreate zones when doing minor reconfigurations;
restructuring and commenting
2000-01-21 19:24:01 +00:00
Andreas Gustafsson 99abbe0bc4 make sure zone manager is not destroyed until tasks have finished 2000-01-19 22:02:18 +00:00
Andreas Gustafsson 8ac1e9e3da eliminate compiler warning on Alpha 2000-01-19 21:25:24 +00:00
Andreas Gustafsson 206a60c0d7 eliminated global variable ns_g_rootns; simplified
server startup/cleanup procedure
2000-01-18 23:38:42 +00:00
Andreas Gustafsson b23d5b6191 eliminated compiler warning and extra
newline in error message
2000-01-18 22:49:55 +00:00
Andreas Gustafsson b03758b04e eliminated global variables ns_g_zonemgr and ns_g_clientmgr 2000-01-18 18:09:47 +00:00
Andreas Gustafsson 1d5114b9a4 wired up the new 'tcp-clients' and 'recursive-clients' options 2000-01-17 20:07:31 +00:00
Andreas Gustafsson 0f03a5d6a7 wired up the 'transfers-out' config option 2000-01-15 00:37:31 +00:00
Andreas Gustafsson a55d0a9080 obey the 'listen-on' configuration option 2000-01-13 23:32:41 +00:00
Andreas Gustafsson ad61cbe04f previously static server_task is now ns_g_server->task 2000-01-13 22:07:24 +00:00
Andreas Gustafsson 0084a7ed9c reasonable default values for client quotas 2000-01-13 21:17:08 +00:00
Andreas Gustafsson 6b99e640f3 80 columns 2000-01-12 01:19:47 +00:00
Andreas Gustafsson b778773c61 made server cleanup be more like a mirror image of
the server setup, to ensure that the server object is not destroyed
while still being used
2000-01-12 01:17:34 +00:00
Andreas Gustafsson 559b10cc8f client quotas; added reference counting to ns_interface_t
and ns_interfacemgr_t so that they can safely hold quota information
2000-01-11 21:18:22 +00:00
Andreas Gustafsson 721e468db0 eliminated global variable ns_g_interfacemgr;
rescan interface list on reconfiguration
2000-01-04 22:02:26 +00:00
Michael Graff 3ddd814a97 dns_result_t is no more. s/dns_result_t/isc_result_t/ -- more later, when I need a break. 1999-12-23 00:09:04 +00:00
Andreas Gustafsson ae6851be33 free old tsig/tkey configuration when reloading configuration 1999-12-22 21:23:32 +00:00
Andreas Gustafsson 582732ce15 war on global variables continues: ns_g_viewlist and
ns_g_viewlock are now gone
1999-12-22 18:45:56 +00:00
Andreas Gustafsson eb1c982e52 dns_c_ctx_get*acl now increment the reference count of the ipml 1999-12-21 21:51:57 +00:00
James Brister 7027fd24a2 Fix name (style) of accessor function used. 1999-12-17 18:27:16 +00:00
Andreas Gustafsson 8f79820c69 wired up the 'cleaning-interval' config option 1999-12-17 01:02:49 +00:00
Andreas Gustafsson 573b8b48d8 Eliminated the global variable ns_g_confctx. The config
data is now kept around only for the duration of the server (re)configuration
process and then immediately freed.
1999-12-17 00:19:29 +00:00
Andreas Gustafsson 6017f424ee introducing dns_acl_t; other restructuring of server
configuration process aiming to reduce the degree of mutual dependency
between lib/dns/config and the rest of libdns
1999-12-16 23:11:07 +00:00
Michael Graff 440be4c866 move util.h to <isc/util.h> 1999-12-16 22:24:22 +00:00
Andreas Gustafsson 9bd232838e support the "version" config file option 1999-12-08 21:27:08 +00:00
James Brister 1ce5dcf1c8 Change config API to not take a isc_log_t but use dns_lctx extern. 1999-12-06 12:40:39 +00:00
Andreas Gustafsson fd15c8e32e Views now have a 'cache' field. The 'cachedb' field still
exists as a convenience shortcut / backwards compatibility thing.
1999-12-02 22:38:34 +00:00
Bob Halley c0d5c5dd26 increase number of tasks, make it prime 1999-11-25 00:12:35 +00:00
Bob Halley f9d8c276c1 move TSIG and TKEY destroy routines to server.c 1999-11-05 20:20:18 +00:00
Bob Halley 904b918f77 Create a default view for class IN if there are no views defined after
loading the configuration file.
1999-11-02 17:21:47 +00:00
Bob Halley d55dc2ac56 implement directory option 1999-10-31 19:30:16 +00:00
Brian Wellington ffdcf33647 TSIG uses the new kdeflist accessor, other assorted TSIG/TKEY config updates 1999-10-29 13:56:56 +00:00
Andreas Gustafsson a474ba139d enabled incoming zone transfer code; there are no SOA
queries yet, so we just do an unconditional transfer attempt at server
startup time for each slave zone
1999-10-29 02:41:56 +00:00
Andreas Gustafsson 71a16ee135 checkpoint, introducing new type dns_zonemgr_t 1999-10-29 00:46:53 +00:00
Brian Wellington 24e49b2133 TSIG initialization moved until after config file parsing 1999-10-27 20:00:40 +00:00
Brian Wellington 90ace4c9e0 preliminary TKEY support 1999-10-26 15:41:48 +00:00
Bob Halley 73ca2fa486 cache loading 1999-10-25 18:59:20 +00:00
Mark Andrews 6166e52816 move zone loading out of callback 1999-10-25 16:46:15 +00:00
Mark Andrews 936f1c128f add log context to dns_zone_copy()
fix various locking problems in zone.
1999-10-25 13:44:53 +00:00
Bob Halley b8257bd2d8 logging tweaks and fixes 1999-10-23 00:02:23 +00:00
Bob Halley a4b6a1622b really basic logging instead of printf 1999-10-22 19:35:19 +00:00
Andreas Gustafsson ef0cb3cc5b create a task pool for use by the zones 1999-10-21 00:33:54 +00:00
Andreas Gustafsson 8e99b9ed65 warn about failed zone loads 1999-10-19 19:14:14 +00:00
Bob Halley 016326d111 overhaul loading; get rid of old load scheme 1999-10-15 01:51:48 +00:00
Bob Halley d60f5b9bc8 Zone support 1999-10-14 01:37:00 +00:00
James Brister c6e10b826e Add driver and callback skeletons for configuration parsing. 1999-10-13 17:50:21 +00:00
Bob Halley 4fdb67f4eb resolver support checkpoint; partial AD support 1999-10-07 19:44:22 +00:00
Bob Halley 92583b722b rootns support 1999-09-24 01:42:22 +00:00