Commit Graph
969 Commits
Author SHA1 Message Date
Andreas Gustafsson c7a793bddb missing spaces in resource limit error message 2000-11-28 21:32:32 +00:00
Andreas Gustafsson 06fef02803 removed 'nostatistics' lines from statistics dumps 2000-11-28 20:08:35 +00:00
Michael Sawyer f9fa6b9a3b Don't reset counters on every reload 2000-11-28 19:58:14 +00:00
Andreas Gustafsson 7f317e65c2 simplified notify-source default processing 2000-11-28 19:15:12 +00:00
Mark Andrews 537d147d76 Allow "dialup passive" to work for stub zones. 2000-11-28 03:17:48 +00:00
Michael Sawyer 504b15de12 Use zone lock instead of zmgr lock on counters
Clean up global and local count adders.
2000-11-28 01:59:25 +00:00
Mark Andrews 644ef1972a Add INSIST(client->recursionquota == NULL) in various places to ensure that
we are not leaking.
2000-11-27 23:54:12 +00:00
Andreas Gustafsson 517ad698ee make ns_server_dumpstats() use dns_name_format(), not dns_name_totext() 2000-11-27 22:08:06 +00:00
Andreas Gustafsson 9259fed3d8 Continue move of lib/dns/*conf.c stuff to bin/named 2000-11-27 19:42:38 +00:00
Andreas Gustafsson a5d079249c provide more clearly marked places to insert code for
database drivers
2000-11-27 19:12:23 +00:00
Michael Sawyer 3e8875db60 Don't crash the server when a user enters a NULL zone. 2000-11-25 03:55:43 +00:00
Michael Sawyer 6dc32b43da rndc [-v view] [-z zone] reload -> rndc reload [zone [view]]
Make the server not crash while I am at it.
2000-11-25 03:27:54 +00:00
Mark Andrews dfd7798d8b 578. [func] Notify-source, specify the source address for notify
messages.
2000-11-25 02:43:56 +00:00
Mark Andrews 3b1a582101 lcfg was not being initalied to NULL. 2000-11-25 01:33:11 +00:00
Andreas Gustafsson 4e29e682f6 Allow master zones to not have a 'file' option, to support non-rbt
databases.  Zones with a nonpersistent database and no 'file' option will get
an error logged at load time.
2000-11-23 02:26:37 +00:00
Andreas Gustafsson 86a4d80e06 565. [func] Log queries more like BIND 8: query logging is now
done to category queries, level info. [RT #169]
2000-11-23 01:32:48 +00:00
Andreas Gustafsson ab13b279ae revert the change of 1.151->1.152 - it is more important to log
queries sanely than to log them the same way BIND 8 did
2000-11-23 01:18:34 +00:00
Andreas Gustafsson de389382be when doing the automatic SOA serial update following a dynamic
update, delete the old SOA then add the updated one instead of the other way around
(otherwise the new database singleton type rules will cause the add to fail)
2000-11-22 02:49:57 +00:00
Bob Halley 6b5a6fbe1c only set AD if they asked for DNSSEC 2000-11-20 17:53:35 +00:00
Brian Wellington cffe50abf6 Lots of copyright updates 2000-11-18 03:01:17 +00:00
Andreas Gustafsson 2bd70b6822 Allow master zones to not have a 'file' option, to support non-rbt
databases.  Zones with a nonpersistent database and no 'file' option will get
an error logged at load time.
2000-11-18 02:54:22 +00:00
Andreas Gustafsson 8bba70c48d renamed dns_zone_setdatabase() to dns_zone_setfile(),
and dns_zone_getdatabase() to dns_zone_getfile(), with the idea that
they (and the 'file' zone option) will always refer to the zone's
master file, regardless of the database implementation.  If a
non-rbt database uses a disk file for its internal storage, the
name of that file should be specified as an argument to the 'database'
option, not using the 'file' option.
2000-11-18 00:57: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
Andreas Gustafsson ba6fd25808 567. [bug] Setting the zone transfer timeout to zero caused an
assertion failure. [RT #302]

 566.   [func]          New public function dns_timer_setidle().
2000-11-17 19:04:51 +00:00
David Lawrence c15babe580 In dns_zone_configure(), declare boolean in the block in which it is used,
since that block is conditionally compiled.
2000-11-16 19:32:13 +00:00
David Lawrence 7fd17f3f4d 565. [func] Log queries more like BIND 8. Query logging is done
to category "general", module "query", debug level 1.
			[RT #169]
2000-11-16 19:20:08 +00:00
Andreas Gustafsson 15e74726b3 increased the UDP receive buffer size (and the initial send
buffer size) from 2048 to 4096 bytes
2000-11-16 00:18:13 +00:00
Brian Wellington dd16d9d9e7 564. [func] Add sortlist support to lwresd. 2000-11-15 23:56:23 +00:00
David Lawrence 123dd02946 Removed unused ns_lwdclientmgr_t *cm from ns_lwdclient_errorpktsend(). 2000-11-15 23:29:29 +00:00
David Lawrence f769deac29 removed token after an #endif 2000-11-15 23:09:09 +00:00
David Lawrence dfc595ff7a Take care of a "variable might be used before set" warning. 2000-11-15 20:35:13 +00:00
Andreas Gustafsson e9f6414d40 simplified query logging code by dropping support for EDNS1
multiple queries and by using dns_rdata{type,class}_format();
include the class in query log messages
2000-11-15 19:35:07 +00:00
Andreas Gustafsson 8f086b9df8 when logging incoming messages that fail to match a view,
include the class name in the log message
2000-11-15 19:15:25 +00:00
Andreas Gustafsson 046bd40fd1 macro definitions should not end in a semicolon 2000-11-15 19:04:41 +00:00
Andreas Gustafsson eb23b7b590 eliminated compiler warnings;
renamed setup_sortlist() to ns_sortlist_setup() to conform
to naming conventions
2000-11-15 18:12:38 +00:00
Andreas Gustafsson 2cd125a2b2 spacing 2000-11-15 18:11:32 +00:00
Andreas Gustafsson 6f191af6ac document NULL returns from ns_sortlist_byaddrsetup() 2000-11-15 02:47:29 +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 a881879ffc use isc_result_totext(result) in place of strerror(errno) when reporting
the result of setting resource limits
2000-11-15 01:37:00 +00:00
Andreas Gustafsson e045287d31 provide a more detailed error message when configuring a trusted key fails 2000-11-15 01:16:30 +00:00
Andreas Gustafsson 7dde2780ae provide a more detailed error message when configuring
a TSIG key fails [RT #461]
2000-11-15 00:42:50 +00:00
Andreas Gustafsson 850d708185 562. [cleanup] Moved lib/dns/*conf.c to bin/named where they belong. 2000-11-15 00:36:42 +00:00
David Lawrence 19aa938b53 561. [func] The 'datasize', 'stacksize', 'coresize' and 'files'
clauses of the options{} statement are now implemented.
2000-11-15 00:19:49 +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
David Lawrence 108490a7f8 keep the CAP_SYS_RESOURCE capability on linux systems.
as someone noted before (bob?  brian?) this might not really be the right
thing to do in a linuxthreads program.
2000-11-14 23:57:45 +00:00
Brian Wellington 942d1a339b Decompression contexts now take a type instead of the "strict" boolean
value - the type can be "any", "strict", or "none".  This fixes potential
problems with compression in unknown rr types.
2000-11-14 23:29:55 +00:00
Andreas Gustafsson f4f43311a6 spacing 2000-11-14 21:30:24 +00:00
Brian Wellington e030123312 The lwresd usage statement was badly formatted. 2000-11-14 20:04:54 +00:00
Andreas Gustafsson 50faa6daf7 refactored sortlist code to make it possible to sort addresses
that are not part of an rdata, as required by lwresd
2000-11-14 03:30:53 +00:00
Andreas Gustafsson 221fd7bd53 refactored sortlist code to make it possible to sort addresses
that are not part of an rdata, as required by lwresd
2000-11-14 03:22:53 +00:00