Commit Graph

919 Commits

Author SHA1 Message Date
Michael Graff
5294500a3d checkpoint 2000-01-25 02:22:17 +00:00
Michael Graff
4ae4759f0a fix a few memory leaks, but create a new one. Grr. 2000-01-25 02:16:20 +00:00
Michael Graff
2343e814ea checkpoint 2000-01-25 01:48:53 +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
Michael Graff
11de9fbd8d split into seperate files. 2000-01-24 21:00:04 +00:00
Brian Wellington
7d86ce8dfc More TKEY updates and fixes... 2000-01-24 20:19:53 +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
David Lawrence
1658fd6760 build omapi_test 2000-01-24 05:38:39 +00:00
David Lawrence
5fd97de0fa unregister and dereference the message to free it after it has been sent.
use omapi_protocol_disconnect instead of omapi_connection_disconnect to
simplify things a little.

free the client connection manager.

initialize master_data's refcnt to 1 so the server does not try to free it.
2000-01-24 05:27:49 +00:00
Andreas Gustafsson
c6102b0b77 fix bug in previous change 2000-01-22 02:15:36 +00:00
Andreas Gustafsson
cab7fe2cca use dns_rootns_create() from libdns 2000-01-22 02:11:30 +00:00
Andreas Gustafsson
efa4ebbff3 use dns_rootns_create() from libdns 2000-01-22 02:03:19 +00:00
Andreas Gustafsson
8f16e457f7 dns_rootns_create() is now in libdns 2000-01-22 01:59:02 +00:00
Michael Graff
9602340acd checkpoint 2000-01-22 01:58:49 +00:00
Bob Halley
b122f0719f basic reload support 2000-01-22 01:40:10 +00:00
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