Commit Graph
901 Commits
Author SHA1 Message Date
Andreas Gustafsson 2680c1bb61 log master file loading errors through the logging subsystem
by default
2000-01-22 01:38:58 +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
Bob Halley 808af43235 exit if no more addresses or an error occurs 2000-01-22 00:19:16 +00:00
David Lawrence e0f30c15b6 checkpoint 2000-01-22 00:18:05 +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 b03de65d35 actually check the TSIG on the message 2000-01-21 22:59:20 +00:00
Brian Wellington bf08eb90e4 use the new TSIG/TKEY code 2000-01-21 20:24:49 +00:00
Andreas Gustafsson bf376bb9f4 create a zone manager; always disassociate bound rdatasets 2000-01-21 19:46:31 +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
Andreas Gustafsson 395130717a dns_zone_setorigin() now takes a dns_name_t *, not a char * 2000-01-21 19:21:14 +00:00
Mark Andrews a999dffe49 dns_adb_createfind() has a new arguement. Set to NULL to allow builds to
complete.
2000-01-21 04:55:57 +00:00
Bob Halley 99a9539ccd add byname_test.c 2000-01-21 02:51:51 +00:00
Bob Halley 6a68df334f conform to ADB API change 2000-01-21 02:51:29 +00:00
Bob Halley f87506d115 conform to resolver API change 2000-01-21 02:51:09 +00:00
Michael Graff 3e5981eec2 checkpoint 2000-01-21 01:32:10 +00:00
Andreas Gustafsson 588de173e3 program name was wrong in usage message 2000-01-20 23:07:01 +00:00
Michael Graff 0061a9d4a3 add client state bits, and start on individual parsing functions. 2000-01-20 21:35:47 +00:00
Michael Graff df11e74a70 each client mgr attaches to the view once on startup, and once on exit. 2000-01-20 01:24:53 +00:00
Michael Graff d24a3d2f93 view is created and passed to client managers. Client state is begun -- needs work. 2000-01-20 01:22:34 +00:00
Andreas Gustafsson d9a28c4a0d remove needless #includes 2000-01-20 01:14:33 +00:00
Andreas Gustafsson 67d762bfc4 need #include <dns/log.h> 2000-01-20 01:12:08 +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
Michael Graff bcb94f473f create a view and all the goop associated with it. 2000-01-20 00:54:27 +00:00
Andreas Gustafsson 41ac1e406f needs #include <dns/log.h> 2000-01-20 00:38:49 +00:00
Michael Graff 6448ffb2b9 use unsigned char, not void * in our buffers 2000-01-20 00:11:52 +00:00
Michael Graff f497ab709d checkpoint 2000-01-20 00:07:51 +00:00
Michael Graff dd5f72cc1c checkpoint 2000-01-20 00:05:11 +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
Michael Graff 03eb24f79a checkpoint new lwresd code 2000-01-19 01:27:30 +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 f53f2fbfe4 add inter_test 2000-01-18 21:10:21 +00:00
Bob Halley 37392bc121 now works more like host 2000-01-18 19:07:04 +00:00
Bob Halley 2d80f690e0 add byaddr_test 2000-01-18 19:06:38 +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
Mark Andrews a71f9502bf add interface iterator test 2000-01-18 05:43:21 +00:00
Mark Andrews 0857dced07 test code for interface iterator. 2000-01-18 05:41:06 +00:00
Bob Halley d42634d8a3 add byaddr_test 2000-01-18 02:47:53 +00:00
Michael Graff 7dbf5a0b64 implement actual network I/O for lw resolver. All I/O is run through the
context, where the sockets are cached.  This means one context per thread.
2000-01-18 01:43:12 +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