Commit graph

517 commits

Author SHA1 Message Date
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
Bob Halley
d60f5b9bc8 Zone support 1999-10-14 01:37:00 +00:00
Andreas Gustafsson
4dbbfeda13 replaced xfrin_test() by ns_xfrin_start() 1999-10-14 00:00:59 +00:00
James Brister
253f25f7ff Added some globals for the config parser. 1999-10-13 17:50:53 +00:00
Bob Halley
e24ae70756 Make qrdataset an attribute of the client.
Get the foundname out of the fetch done event.
1999-10-11 19:12:43 +00:00
Bob Halley
4fdb67f4eb resolver support checkpoint; partial AD support 1999-10-07 19:44:22 +00:00
Bob Halley
0fef48d0e6 ends fixes; clear AA and AD on error 1999-10-07 19:43:18 +00:00
David Lawrence
a252c2771f include isc/net.h, do not include sys/socket.h, netinet/in.h or arpa/inet.h,
and/or use type in_port_t instead of unsigned int for ports
1999-10-02 02:54:16 +00:00
Bob Halley
95ffe09c95 add default root nameserver support 1999-09-24 01:43:02 +00:00
Bob Halley
70e59364af Make restarts part of query state 1999-09-17 21:57:11 +00:00
Bob Halley
0e5d1f7463 cache support 1999-09-13 18:26:37 +00:00
Bob Halley
4c0b089772 allow port to be specified 1999-09-09 02:19:11 +00:00
Bob Halley
7f9096e4c9 add gluedb 1999-09-08 01:20:41 +00:00
Bob Halley
daf60b7604 add a6 chains to additional data 1999-09-07 23:09:34 +00:00
Michael Graff
4556681e19 snapshot socket.[ch] code and commit dynbuf_t -> buffer_t changes 1999-09-02 02:10:44 +00:00
Bob Halley
ac77fece9a EDNS0 1999-09-02 01:52:31 +00:00
Andreas Gustafsson
ea530fd748 xfrin_test now takes no arguments 1999-08-27 18:35:05 +00:00
Andreas Gustafsson
0818d0a764 support slave zones 1999-08-27 18:30:00 +00:00
Andreas Gustafsson
b59d3a39f9 xfrin_test now takes a view, not a dbtable 1999-08-25 06:46:01 +00:00
Andreas Gustafsson
169a0b9252 cut-and-paste-o 1999-08-24 06:46:48 +00:00
Andreas Gustafsson
4cd3d6df39 initial checkin 1999-08-20 05:35:16 +00:00
Bob Halley
9d308c6236 use only one database version per query 1999-08-18 04:23:39 +00:00
Bob Halley
a7de941669 cleanup and restructure find; add DNAME support 1999-08-12 07:54:08 +00:00
Bob Halley
173b32c660 checkpoint: basic views, version.bind support 1999-08-05 22:14:43 +00:00
Bob Halley
9c1ed06aac checkpoint 1999-08-05 02:24:42 +00:00
Bob Halley
b77cab68c6 checkpoint; crude TCP support 1999-08-05 01:51:32 +00:00
Bob Halley
4e37c87da1 checkpoint; beginnings of additional data support 1999-08-03 01:21:00 +00:00
Bob Halley
5debbf1189 checkpoint 1999-07-29 00:55:35 +00:00
Bob Halley
b4d7972545 checkpoint 1999-07-28 02:20:36 +00:00
Bob Halley
7e6c9a9a73 add 1999-07-24 01:17:44 +00:00
Bob Halley
a4520e13fb update 1999-07-24 01:15:44 +00:00
Andreas Gustafsson
ff64dc5d7f added network interface manager 1999-05-20 12:37:35 +00:00