Commit Graph
387 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 66c41c5b4f use the UNUSED() macro 2000-01-27 01:14:13 +00:00
Andreas Gustafsson 143c2d39fa configuration locking checkpoint 2000-01-27 01:00:16 +00:00
Andreas Gustafsson 5137961d7c use the UNUSED() macro 2000-01-27 00:56:10 +00:00
Andreas Gustafsson a820cd51ec removed 'pubkey' from the zone object; if we decide it is
actually needed, it should be restored but as a dns_pubkey_t,
not dns_c_pubkey_t.
2000-01-27 00:44:56 +00:00
Bob Halley 77d886b04e call ns_os_daemonize() 2000-01-26 21:13:19 +00:00
Bob Halley 2aa67e804d add ns_os_deamonize() 2000-01-26 21:12:33 +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
Bob Halley bdebe2546b add ns_interfacemgr_findudpdispatcher() 2000-01-26 19:24:28 +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 d0449759c6 typo 2000-01-26 00:41:40 +00:00
Andreas Gustafsson f5f38e9930 moved listen list reconfiguration code from listenlist.c
to server.c
2000-01-25 21:21:05 +00:00
Andreas Gustafsson 1242c7b4aa missing exit check in client_senddone() 2000-01-25 19:36:13 +00:00
Bob Halley e485d16462 name tasks 2000-01-25 19:31:23 +00:00
Andreas Gustafsson bd5a2f2dae no need to include <dns/confctx.h> 2000-01-25 19:10:48 +00:00
Andreas Gustafsson 9e694201cf eliminated global variable ns_g_tkeyctx 2000-01-25 19:05:46 +00:00
Brian Wellington fb01226bcd - generated TSIG keys can expire
- TKEY actually uses class ANY now
2000-01-24 22:22:51 +00:00
Andreas Gustafsson b45b364f22 Handle SIGHUP. Locking is still missing. 2000-01-24 22:21:47 +00:00
Brian Wellington 651a38a706 If a query is for type ANY, match the first view that otherwise matches. 2000-01-24 21:29:12 +00:00
Brian Wellington 8eb9b0688e - dns_tkeyctx_fromconfig() should always return a valid context if it returns
ISC_R_SUCCESS
- fix memory leak if isc_mem_get fails
2000-01-24 19:57:33 +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
Bob Halley b122f0719f basic reload support 2000-01-22 01:40:10 +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 6889d57aab don't needlessly destroy and recreate zones when doing minor reconfigurations 2000-01-21 19:22:35 +00:00
Bob Halley f87506d115 conform to resolver API change 2000-01-21 02:51:09 +00:00
Andreas Gustafsson d9a28c4a0d remove needless #includes 2000-01-20 01:14:33 +00:00
Andreas Gustafsson 6c6894f0a0 need #include <isc/log.h> 2000-01-20 01:01:35 +00:00
Andreas Gustafsson f12bccd23f need #include <dns/log.h> 2000-01-20 00:59:17 +00:00
Andreas Gustafsson fe609a031b ignore non-IP4 interfaces in do_ip4() now that the interface
iterator can return such things
2000-01-20 00:00:00 +00:00
Andreas Gustafsson 4702aa0b47 detach from view early in client destruction so that the resolver
can start shutting down immediately instead of only after recursions in
progress have finished
2000-01-19 22:03:58 +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
Bob Halley 6cff00c8e1 cancel the correct socket. 2000-01-19 00:50:42 +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 d3f21080e6 report socket errors using isc_log_write, not UNEXPTECTED_ERROR 2000-01-18 22:57:24 +00:00
Andreas Gustafsson b23d5b6191 eliminated compiler warning and extra
newline in error message
2000-01-18 22:49:55 +00:00
Andreas Gustafsson b3d8a5883a access server config data only during initial setup,
to simplify locking
2000-01-18 22:21:57 +00:00
Bob Halley 13886f5d45 eliminate compiler warning 2000-01-18 18:16:34 +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 d468db05b3 client manager cleanup could access freed memory 2000-01-18 18:07:07 +00:00
Andreas Gustafsson e57d7e30f1 merged the two functions ns_clientmgr_addtodispatch() and
ns_clientmgr_accepttcp() into a new single function,
ns_clientmgr_createclients()
2000-01-17 23:48:15 +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 01b16bff8b client can now reserve multiple types of quota simultaneously 2000-01-15 00:37:00 +00:00