David Lawrence
34d51626b3
ns_omapi_init declaration
2000-03-14 04:08:39 +00:00
Michael Graff
ae8d0aedd6
implement pktinfo through dispatcher -> named client
2000-03-14 03:30:52 +00:00
Andreas Gustafsson
1c4fb0e315
wired up the transfer-source-v6 option
2000-03-08 22:31:52 +00:00
Andreas Gustafsson
b044e6daba
updated comment to reflect changed interface
2000-03-02 01:14:02 +00:00
David Lawrence
142b9c806e
format comment to 79 columns
2000-03-01 21:28:38 +00:00
Andreas Gustafsson
e02c696ea5
checkpoint: restructured logging configuration code
...
to enable the default logging configuration to be defined
in one place
2000-03-01 00:40:54 +00:00
Andreas Gustafsson
f30f2b279c
direct logging to stderr iff the '-f' option is doubled
2000-02-28 22:17:59 +00:00
Andreas Gustafsson
353dcaf1cc
'logging' statement partially wired up
2000-02-28 18:38:44 +00:00
Andreas Gustafsson
3eef7eaba0
renamed dns_acl_checkrequest() to ns_client_checkacl()
...
and moved it to bin/named/client.c to reflect the fact that it
implemented BIND ACL policy more than general-purpose library
functionality; resolve ACL defaults at configuration time
rather than when the ACL is evaluated
2000-02-22 21:24:24 +00:00
Andreas Gustafsson
377333ac58
include peer address when logging TCP connections and
...
client requests
2000-02-17 18:18:24 +00:00
Andreas Gustafsson
9fdf20d0de
implemented periodic network interface scanning
2000-02-16 19:58:39 +00:00
Andreas Gustafsson
e0e78c2ce5
log the destruction of network interfaces
2000-02-16 19:57:06 +00:00
Andreas Gustafsson
d18d98734f
implemented client timeouts; made outgoing zone transfers
...
use the client timers instead of creating their own
2000-02-14 23:56:47 +00:00
Andreas Gustafsson
ae0bc2f30e
Make client reference counts work the same way as all
...
other reference counts: replace ns_client_wait() and
ns_client_unwait() by ns_client_attach() and ns_client_detach(),
respectively
2000-02-11 20:56:19 +00:00
Andreas Gustafsson
e5f8f2659b
yet another major reorganization of client shutdown
...
procedures, in preparation for client timeouts
2000-02-10 22:16:56 +00:00
David Lawrence
ae4cbb69ee
[RT 17] Special handling of prefix/sysconfdir/localstatedir. If none
...
are given, install to /usr/local but use /etc/named.conf and
/var/run/named.pid. If prefix is given, use it in the other two if they
are not also provided.
2000-02-10 01:14:06 +00:00
Andreas Gustafsson
a174757026
implemented the 'localhost' and 'localnets' ACLs
2000-02-09 22:59:40 +00:00
Bob Halley
bfc2d518d1
use ns_g_defaultpidfile
2000-02-08 21:15:41 +00:00
Bob Halley
7d32c065c7
update copyright
2000-02-03 23:50:32 +00:00
Bob Halley
7d98a1783f
update copyrights
2000-02-03 22:29:57 +00:00
Andreas Gustafsson
5a2b8787dc
more comments
2000-02-02 21:02:11 +00:00
Andreas Gustafsson
9f3188c3b7
removed obsolete comment
2000-02-02 21:01:59 +00:00
Bob Halley
5d8c8b966c
separate omapi init/destroy from listen
2000-02-02 02:16:59 +00:00
David Lawrence
d08f3e2bf7
define NS_OMAPI_PORT as 953
2000-02-01 15:17:52 +00:00
Bob Halley
1340f42b21
Add querysrc_address and querysrc_dispatch.
2000-01-31 19:56:52 +00:00
David Lawrence
98b6232ec1
added DNS_LOGMODULE_OMAPI
2000-01-31 15:25:29 +00:00
David Lawrence
9397fb1fb1
dns_g_omapimgr to manage the OMAPI listener
2000-01-31 15:19:37 +00:00
David Lawrence
36e3f1b8e5
definitions for OMAPI support
2000-01-31 15:18:48 +00:00
Andreas Gustafsson
9c7ea152ca
When a client object has served its purpose and is not
...
needed to listen for new requests, do not shut it down. Instead,
wait for pending sends to finish and then store it on a linked
list of inactive client objects for later reuse.
2000-01-28 23:35:53 +00:00
Bob Halley
d7a26a32f8
add ns_g_username
2000-01-28 20:10:43 +00:00
Andreas Gustafsson
94a3e829e0
added "transfersin" quota variable in zone manager;
...
use dns_severity_t, not dns_c_severity_t to represent name checking
severities, to eliminate the final dependency on dns/config code
2000-01-27 19:44:49 +00:00
Andreas Gustafsson
143c2d39fa
configuration locking checkpoint
2000-01-27 01:00:16 +00:00
James Brister
95ff121ebd
removed some platform specific code.
2000-01-26 19:36:18 +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
Andreas Gustafsson
f5f38e9930
moved listen list reconfiguration code from listenlist.c
...
to server.c
2000-01-25 21:21:05 +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
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
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