Bob Halley
364a82f7c2
include isc/util.h
2000-04-28 01:12:23 +00:00
Bob Halley
134ba0e08a
Linux PR_SET_KEEPCAPS support
2000-04-11 18:51:19 +00:00
David Lawrence
82e902bfde
omapi_lib_destroy() in destroy_managers() if no ns_g_omapimgr started
2000-03-18 02:52:10 +00:00
Bob Halley
5a8c6cd711
shutdown omapi before destroying the task manager.
2000-03-18 02:23:53 +00:00
David Lawrence
b986772b1a
ns_omapi_init now takes no parameters
2000-03-18 00:50:25 +00:00
David Lawrence
177bbc4098
omapi_lib_destroy after the omapimgr has been destroyed
2000-03-14 19:55:26 +00:00
David Lawrence
5e2d1dbba6
dereference ns_g_omapimgr in omapi.c:listen_done
2000-03-14 19:49:28 +00:00
David Lawrence
3388760bca
use ns_omapi_init in place of omapi_lib_init
2000-03-14 04:07:52 +00:00
Andreas Gustafsson
a6535a2681
consistently use single quotes around quoted text in log messages
2000-03-01 22:41:59 +00:00
Andreas Gustafsson
254993b725
removed support for -ff (use -g); updated usage message accordingly
2000-03-01 18:50:58 +00:00
Andreas Gustafsson
32b61e553b
foreground mode with logging to stderr is now -g, not -ff
2000-02-29 18:37:14 +00:00
Andreas Gustafsson
ef890b8214
renamed -N option to -n for portability
2000-02-28 22:19:47 +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
c0d0a59d1b
removed newlines from UNEXPECTED_ERROR() messages
2000-02-17 19:58:59 +00:00
Andreas Gustafsson
dd75e174ec
typo in usage message
2000-02-17 19:22:15 +00:00
Andreas Gustafsson
e38cc88b71
deprecated the -b option (use -c instead);
...
if there was exactly one non-option argument (as in 'named foo')
it was silently ignored - issue a usage message instead;
also issue a usage message if we get an unknown command line option;
update the update message to reflect reality (leaving the -x option
undocumented)
2000-02-17 19:21:00 +00:00
Andreas Gustafsson
672b62dc2a
log library UNEXPECTED_ERRORs through the logging system;
...
end first line of two-line error messages with a colon
2000-02-14 19:40:36 +00:00
Bob Halley
7d98a1783f
update copyrights
2000-02-03 22:29:57 +00:00
Bob Halley
5d8c8b966c
separate omapi init/destroy from listen
2000-02-02 02:16:59 +00:00
Bob Halley
148677b9a2
downgrade OMAPI successful start message to debug 3
2000-02-02 00:37:28 +00:00
David Lawrence
ad1a8079ba
only do omapi_listener_shutdown if ns_g_omapimgr != NULL
2000-01-31 19:59:39 +00:00
David Lawrence
186a100dc6
Reset the assertion and fatal error callbacks before calling isc_log_*,
...
in case isc_log_* is what is causing the assertion/error.
Check bounds on port of -p option.
Start OMAPI on startup, destroy it on shutdown.
2000-01-31 15:23:10 +00:00
Bob Halley
7be4ced9e2
os API cleanups; -u support; call ns_os_chroot()
2000-01-28 20:10:26 +00:00
Bob Halley
77d886b04e
call ns_os_daemonize()
2000-01-26 21:13:19 +00:00
James Brister
95ff121ebd
removed some platform specific code.
2000-01-26 19:36:18 +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
b45b364f22
Handle SIGHUP. Locking is still missing.
2000-01-24 22:21:47 +00:00
Andreas Gustafsson
8f16e457f7
dns_rootns_create() is now in libdns
2000-01-22 01:59:02 +00:00
Bob Halley
b122f0719f
basic reload support
2000-01-22 01:40:10 +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
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
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
721e468db0
eliminated global variable ns_g_interfacemgr;
...
rescan interface list on reconfiguration
2000-01-04 22:02:26 +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
Bob Halley
f9d8c276c1
move TSIG and TKEY destroy routines to server.c
1999-11-05 20:20:18 +00:00
Brian Wellington
31b6349dbb
added dns_tkey_destroy
1999-11-05 16:53:24 +00:00
Brian Wellington
24e49b2133
TSIG initialization moved until after config file parsing
1999-10-27 20:00:40 +00:00
Bob Halley
925c6e6f4d
minor tweaks; add -x to load cache
1999-10-25 18:58:43 +00:00
Bob Halley
f41948fc23
os-specific init
1999-10-23 01:07:22 +00:00
Bob Halley
378d26619d
catch assertion failures and library fatal errors
1999-10-23 00:33:04 +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
067a6ca8b4
eliminate confctx lock
1999-10-15 01:49:46 +00:00
Bob Halley
ba88ba8a3f
eliminate temporary zone/cache loading scheme
1999-10-15 01:48:29 +00:00
James Brister
78f12b4789
Add bootfile to command line.
1999-10-13 17:49:21 +00:00
Brian Wellington
e14bb110b5
linux capability stuff didn't work with kernel 2.2 and glibc 2.0
1999-10-07 20:45:46 +00:00
Bob Halley
9f4dd67b1f
drop privs on linux
1999-10-07 19:35:02 +00:00
David Lawrence
8b901c775d
use isc_commandline_parse instead of getopt
1999-10-06 19:59:29 +00:00
Bob Halley
4c0b089772
allow port to be specified
1999-09-09 02:19:11 +00:00