Andreas Gustafsson
03ccfda9ec
the view now has a peer list
2000-02-24 21:12:16 +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
9fdf20d0de
implemented periodic network interface scanning
2000-02-16 19:58:39 +00:00
Andreas Gustafsson
71385229ce
use the UNUSED() macro
2000-02-16 18:21:17 +00:00
James Brister
e3f0a6821c
configure_view() was not detaching iplist after use.
2000-02-11 15:29:37 +00:00
Andreas Gustafsson
a174757026
implemented the 'localhost' and 'localnets' ACLs
2000-02-09 22:59:40 +00:00
Bob Halley
19389c0bb1
lint
2000-02-09 19:23:30 +00:00
James Brister
35393c5cfa
Get query source address and port together
2000-02-09 16:36:19 +00:00
Bob Halley
bfc2d518d1
use ns_g_defaultpidfile
2000-02-08 21:15:41 +00:00
Bob Halley
8545bb4765
change working directory immediately after parsing the options block
2000-02-08 01:30:16 +00:00
Bob Halley
7d98a1783f
update copyrights
2000-02-03 22:29:57 +00:00
Andreas Gustafsson
515277c0e8
function was declared static but defined non-static
2000-01-31 22:06:09 +00:00
Bob Halley
f5facdfc29
The 'forwarders' and 'forward' options are now hooked up.
...
If the server had been bound to a particular query source and was then
reloaded, the reloading would fail due to "address in use" if the query
source had not been changed. The server now remembers if a custom dispatcher
is in use, and reuses it if it is compatible with the new configuration.
2000-01-31 19:59:11 +00:00
Bob Halley
9ee5efde7d
pid file support
2000-01-29 01:38:09 +00:00
Bob Halley
bcc1d6507b
call ns_os_changeuser() from run_server()
2000-01-28 20:09:49 +00:00
Andreas Gustafsson
6d39d25c55
set configuration lock quotas to 1
2000-01-27 21:20:32 +00:00
Bob Halley
3013dcc59d
hint zone support; more error checking of zone
2000-01-27 01:57:08 +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
c14c6f86ae
implement query-source
2000-01-26 19:25:22 +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
Bob Halley
5bd937c666
conform to dns_view_createresolver() API change
2000-01-26 16:59:05 +00:00
Andreas Gustafsson
f5f38e9930
moved listen list reconfiguration code from listenlist.c
...
to server.c
2000-01-25 21:21:05 +00:00
Bob Halley
e485d16462
name tasks
2000-01-25 19:31:23 +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
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
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
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
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
Andreas Gustafsson
206a60c0d7
eliminated global variable ns_g_rootns; simplified
...
server startup/cleanup procedure
2000-01-18 23:38:42 +00:00
Andreas Gustafsson
b23d5b6191
eliminated compiler warning and extra
...
newline in error message
2000-01-18 22:49:55 +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
1d5114b9a4
wired up the new 'tcp-clients' and 'recursive-clients' options
2000-01-17 20:07:31 +00:00
Andreas Gustafsson
0f03a5d6a7
wired up the 'transfers-out' config option
2000-01-15 00:37:31 +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
0084a7ed9c
reasonable default values for client quotas
2000-01-13 21:17:08 +00:00
Andreas Gustafsson
6b99e640f3
80 columns
2000-01-12 01:19:47 +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
721e468db0
eliminated global variable ns_g_interfacemgr;
...
rescan interface list on reconfiguration
2000-01-04 22:02:26 +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
ae6851be33
free old tsig/tkey configuration when reloading configuration
1999-12-22 21:23:32 +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
eb1c982e52
dns_c_ctx_get*acl now increment the reference count of the ipml
1999-12-21 21:51:57 +00:00