Commit Graph
531 Commits
Author SHA1 Message Date
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
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 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 6889d57aab don't needlessly destroy and recreate zones when doing minor reconfigurations 2000-01-21 19:22:35 +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 206a60c0d7 eliminated global variable ns_g_rootns; simplified
server startup/cleanup procedure
2000-01-18 23:38:42 +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 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 cec6fc9dc5 client can now reserve multiple types of quota simultaneously;
added module info comment; removed unused ns_clienttype_t and ns_client_destroy
declarations
2000-01-15 00:35:41 +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 eb37a8ce9e headers should not include themselves 2000-01-12 22:22:50 +00:00
Andreas Gustafsson 0c32f6b044 added shutdown callback to client object;
used it to abort outgoing zone transfers on client shutdown
2000-01-12 18:01:12 +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 08d93839d7 support multiple simultaneous clients by creating new
client objects in place of busy ones, in preparation for client quotas
2000-01-07 19:20:25 +00:00
Andreas Gustafsson 2cb0da946e the client and query data structures were not cleaned up
correctly if the server got a SIGINT with a recursive query in progress
2000-01-06 01:09:27 +00:00
Andreas Gustafsson e8e73ca025 eliminated global variable ns_g_interfacemgr 2000-01-04 22:01:54 +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 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 143592a649 new client shutdown cleanup strategy 1999-12-22 16:59:05 +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
Mark Andrews f6a9dd2c61 complete slave side of notify 1999-12-16 01:23:17 +00:00
Andreas Gustafsson 8468c5a2ff added #include <named/types.h> 1999-12-15 17:29:59 +00:00
Mark Andrews 608f870f48 add notify support 1999-12-14 07:47:35 +00:00
Mark Andrews d0aee194aa Initial checkpoint for notify. 1999-12-14 06:58:27 +00:00
Andreas Gustafsson c295547c73 use the "recursion" and "allow-recursion" config options;
set RA correctly in responses
1999-12-10 23:58:04 +00:00
Andreas Gustafsson 5cee8302fc dns_aml_checkrequest() now takes signer name, not message 1999-12-10 18:14:49 +00:00
Andreas Gustafsson d4539375e2 added ns_client_getsockaddr() 1999-11-30 02:49:38 +00:00
Bob Halley 9f9c0a0a33 make port 53 the default 1999-11-01 18:26:05 +00:00
Bob Halley 7622df5154 add client->now 1999-10-29 16:16:54 +00:00
Andreas Gustafsson 81ce556e02 moved xfrin.c from bin/named to lib/dns by repository copy 1999-10-29 02:12:01 +00:00
Andreas Gustafsson f5c1114cd8 checkpoint, introducing new type dns_zonemgr_t 1999-10-29 00:57:34 +00:00
Bob Halley f96d5fd14e add NS_QUERYATTR_CACHEGLUEOK 1999-10-25 21:22:10 +00:00
Bob Halley 73ca2fa486 cache loading 1999-10-25 18:59:20 +00:00
Bob Halley 9b2267b5ba add 1999-10-23 01:08:57 +00:00
Andreas Gustafsson 8327c62a49 added logging modules and categories for update, xfer-in, xfer-out 1999-10-23 00:44:40 +00:00
Bob Halley deb12179be do not BEGIN/END C++ DECLS 1999-10-23 00:42:52 +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
Bob Halley 202d738d87 add 1999-10-22 19:34:03 +00:00
Andreas Gustafsson ef0cb3cc5b create a task pool for use by the zones 1999-10-21 00:33:54 +00:00
Bob Halley d057803db4 delete ns_g_dbs and ns_g_confctxlock; init ns_g_conffile 1999-10-15 01:51:08 +00:00
Bob Halley ba88ba8a3f eliminate temporary zone/cache loading scheme 1999-10-15 01:48:29 +00:00