Commit Graph
102 Commits
Author SHA1 Message Date
Bob Halley 3013dcc59d hint zone support; more error checking of zone 2000-01-27 01:57:08 +00:00
Andreas Gustafsson 143c2d39fa configuration locking checkpoint 2000-01-27 01:00:16 +00:00
James Brister 95ff121ebd removed some platform specific code. 2000-01-26 19:36:18 +00:00
Bob Halley c14c6f86ae implement query-source 2000-01-26 19:25:22 +00:00
James Brister 44fee66802 Implement deamon-ising (`-f' to run in foreground).
log to syslog if deamon.
implement `-t' option and chroot
2000-01-26 17:35:16 +00:00
Bob Halley 5bd937c666 conform to dns_view_createresolver() API change 2000-01-26 16:59:05 +00:00
Andreas Gustafsson f5f38e9930 moved listen list reconfiguration code from listenlist.c
to server.c
2000-01-25 21:21:05 +00:00
Bob Halley e485d16462 name tasks 2000-01-25 19:31:23 +00:00
Andreas Gustafsson 9e694201cf eliminated global variable ns_g_tkeyctx 2000-01-25 19:05:46 +00:00
Andreas Gustafsson b45b364f22 Handle SIGHUP. Locking is still missing. 2000-01-24 22:21:47 +00:00
Andreas Gustafsson f93d33e24f separated BIND specific configuration code from rest
of TSIG/TKEY code; renamed TSIG/TKEY context create and destroy functions for
consistency with rest of library
2000-01-24 19:14:26 +00:00
Andreas Gustafsson 8f16e457f7 dns_rootns_create() is now in libdns 2000-01-22 01:59:02 +00:00
Andreas Gustafsson 036df8a12d exit server if loading a zone fails during initial startup
(but not if it fails during a subsequent reload)
2000-01-22 01:36:34 +00:00
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