Brian Wellington
1d92d8a245
792. [cleanup] Replace the OMAPI command channel protocol with a
...
simpler one.
2001-03-27 00:44:59 +00:00
Brian Wellington
5966e86744
Oops, revert an inadvertent checkin.
2001-03-06 02:40:13 +00:00
Brian Wellington
e43b9a2005
move compression context create/delete into the caller of the message
...
rendering functions. This reduces the size of the message object.
2001-03-05 21:15:47 +00:00
Brian Wellington
6b8ab03dc8
Implement the random-device option, and log a message if there is no entropy.
2001-01-11 23:46:12 +00:00
Brian Wellington
499b34cea0
copyright update
2001-01-09 22:01:04 +00:00
Brian Wellington
51cccc493a
If running in single-threaded mode, set ns_g_cpus to 1 explicitly.
2000-12-29 22:31:04 +00:00
Brian Wellington
a0eb4941ff
Remove #if ISC_MUTEX_PROFILE ; it should work now.
2000-12-29 18:25:33 +00:00
Andreas Gustafsson
f1fb5d1b0b
compilation failed due to call to nonexistent function isc_mutex_stats();
...
made call conditional on ISC_MUTEX_PROFILE to make it compile but the issue of
the function being undefined even when ISC_MUTEX_PROFILE is set must still be
resolved
2000-12-29 18:09:31 +00:00
Brian Wellington
3f160155da
ISC_MUTEX_PROFILE can be set to enable basic mutex profiling. Running named
...
with -s prints the results.
2000-12-29 01:29:56 +00:00
Brian Wellington
58082ab8a8
The "cachefile" option now loads the file on startup. The "temporary" -x
...
option to named is no more.
2000-12-12 23:05:59 +00:00
Brian Wellington
5686f209b7
the example #include for sdb drivers should be "xxdb.h", not <xxdb.h>
2000-12-06 01:04:45 +00:00
Andreas Gustafsson
a5d079249c
provide more clearly marked places to insert code for
...
database drivers
2000-11-27 19:12:23 +00:00
Brian Wellington
a3c89c5e87
Comment the places where sdb drivers should be registered and unregistered.
2000-11-17 22:09:19 +00:00
David Lawrence
21ec512685
some systems do not implement all of the resources of
...
the isc_resource_t enum, so the API was changed to return
ISC_R_NOTIMPLEMENTED in such cases.
2000-11-15 02:11:50 +00:00
David Lawrence
2c02438f84
save the initial values of the resource limits for datasize, stacksize,
...
coresize, and open files
2000-11-14 23:59:21 +00:00
Brian Wellington
e030123312
The lwresd usage statement was badly formatted.
2000-11-14 20:04:54 +00:00
Brian Wellington
4587a7c3df
lwresd should only try to load /etc/resolv.conf if the -c option was not
...
specified.
2000-11-01 20:59:22 +00:00
Brian Wellington
0df9b6e53b
The lwresd -C option had a few problems.
2000-10-13 22:35:46 +00:00
Brian Wellington
8a23742754
lwres can now be served by named, with the lwres{} block in named.conf.
...
If run as lwresd, look for /etc/lwresd.conf or a replacement specified
with -c, otherwise read /etc/resolv.conf or a replacement specified with -C.
2000-10-04 23:19:01 +00:00
Brian Wellington
e79a7d195e
only allow decimal values for command line parameters
2000-09-28 21:21:31 +00:00
Brian Wellington
d999beb1b0
log the number of CPUs used.
2000-09-28 21:18:07 +00:00
Brian Wellington
e2b5209991
496. [bug] named didn't sanity check numeric parameters [RT #361 ]
2000-09-28 21:09:51 +00:00
Andreas Gustafsson
531dd7b648
support 'named -l' as a synonym for 'lwresd', so that the system
...
tests will work despite libtool losing argv[0]
2000-09-16 01:42:06 +00:00
Michael Graff
4e96d1fc06
restructure creating and cleanup to more closely fit the other subsystem's methods. This removes one more todo item from my list.
2000-09-07 21:54:40 +00:00
Brian Wellington
5b02858d4e
named -v prints the version number.
2000-08-30 20:40:04 +00:00
Brian Wellington
529ff4b495
HAVE_RANDOMDEV -> PATH_RANDOMDEV
2000-08-17 19:17:57 +00:00
Brian Wellington
a14613fce9
--with-randomdev sets HAVE_RANDOMDEV, use that instead of /dev/random.
2000-08-17 18:56:49 +00:00
Andreas Gustafsson
12a5fa5d0a
say 'due to assertion failure', not 'due assertion failure'
2000-08-17 01:30:31 +00:00
David Lawrence
63fa0d3cf4
removed XXXDCL comment regarding putting program name and args in named.pid
...
as sendmail does with sendmail.pid. concensus was that it was annoying.
2000-08-09 23:40:16 +00:00
David Lawrence
40817ed9c1
378. [func] named and lwresd will log the command line arguments
...
they were started with in the "starting ..." message.
[RT #165 ]
2000-08-09 03:44:42 +00:00
David Lawrence
40f53fa8d9
Trailing whitespace trimmed. Perhaps running "perl util/spacewhack.pl in your
...
own CVS tree will help minimize CVS conflicts. Maybe not.
Blame Graff for getting me to trim all trailing whitespace.
2000-08-01 01:33:37 +00:00
David Lawrence
15a4474541
word wrap copyright notice at column 70
2000-07-27 09:55:03 +00:00
Brian Wellington
663841abe0
338. [bug] lwresd logged to syslog as named, not lwresd.
2000-07-18 17:50:02 +00:00
David Lawrence
84f4e4a656
319. [func] The named.conf "controls" statement is now used
...
to configure the OMAPI command channel.
[RT #145 ]
2000-07-10 11:35:02 +00:00
David Lawrence
202991557a
299. [cleanup] Get the user and group information before changing the
...
root directory, so the administrator does not need to
keep a copy of the user and group databases in the
chroot'ed environment. Suggested by Hakan Olsson.
2000-07-01 00:48:06 +00:00
David Lawrence
9c3531d72a
add RCS id string
2000-06-22 22:00:42 +00:00
Brian Wellington
04e812723c
If ns_g_cpus is 0, call isc_os_ncpus() to probe.
2000-06-22 01:09:14 +00:00
Brian Wellington
165250c403
Move entropy and dispatchmgr create/destroy to more correct places.
2000-06-21 22:12:02 +00:00
Michael Graff
80617c8faa
Add using an entropy source to generate a random query ID seed value.
2000-06-21 21:34:43 +00:00
Brian Wellington
208e3e410d
lwresd bug fixes, command line updates, configurability stuff
2000-06-21 01:16:27 +00:00
Brian Wellington
d195e2df32
Don't start omapi if running in lwresd mode
2000-06-19 22:29:09 +00:00
Brian Wellington
593399a67a
lwresd is no longer named -r, it's now a link
2000-06-19 18:55:46 +00:00
David Lawrence
fc4624ce76
include <dns/view.h>
2000-06-16 03:26:55 +00:00
Brian Wellington
878d3073b1
First pass at merging lwresd into named. Seems to work, but doesn't shut down
...
properly. Run named with 'named -r' to test.
2000-06-16 01:39:02 +00:00
David Lawrence
7efc8c3f69
Megacommit of many files.
...
Mostly, several functions that take pointers as arguments, almost
always char * pointers, had those pointers qualified with "const".
Those that returned pointers to previously const-qualified arguments
had their return values qualified as const. Some structure members
were qualified as const to retain that attribute from the variables
from which they were assigned.
Minor other ISC style cleanups.
2000-06-01 18:49:22 +00:00
Michael Graff
46993e1d9d
Merge the mlg-20000518 branch onto the mainline. Change summary:
...
dns_dispatch_create() no longer exists. dns_dispatch_createtcp()
and dns_dispatch_getudp() are the replacements. _createtcp() takes
a bound, connected TCP socket, while _getudp() will search for
a sharable UDP socket, and if found, attach to it and return a
pointer to it. If one is not found, it will create a udp socket,
bind it to a supplied local address, and create a new dispatcher
around it.
dns_dispatch_remove{request,response}() no longer take the dispatch
as an argument.
query-source can now be set per view.
The dispatch manager holds onto three memory pools, one for
allocating dispatchers from, one for events, and one for
requests/replies. The free list on these pools is hard-coded,
but set to 1024. This keeps us from having to dig into the
isc_mem_t the pools draw from as often.
dns_resolver_create() and dns_view_createresolver() require that
valid dispatchers be passed in; dispatchers are no longer created
for the caller.
2000-05-19 21:46:46 +00:00
David Lawrence
175b76e191
line 324: remark(1498): no prototype for the call to create_managers
...
line 383: remark(1498): no prototype for the call to setup
line 405: remark(1498): no prototype for the call to cleanup
The missing prototypes were added.
2000-05-14 13:47:17 +00:00
Michael Graff
ca9739800f
implement dns_dispatchmgr_t, replacing dns_dispatchlist_t. Use it throughout the library/server.
2000-05-10 21:34:50 +00:00
David Lawrence
1a69a1a78c
Megacommit of dozens of files.
...
Cleanup of redundant/useless header file inclusion.
ISC style lint, primarily for function declarations and standalone
comments -- ie, those that appear on a line without any code, which
should be written as follows:
/*
* This is a comment.
*/
2000-05-08 14:38:29 +00:00
Andreas Gustafsson
7193a1762e
suppress logging until UID switch to avoid creating log
...
files as root
2000-05-02 18:45:08 +00:00