Commit Graph
26645 Commits
Author SHA1 Message Date
Brian Wellington bbbcb61fb2 Add one more test; make sure configuration files are legal. 2001-03-09 18:49:57 +00:00
Brian Wellington 70aa25d018 isc_app_block() could be called twice with no _unblock() between them. 2001-03-09 18:18:42 +00:00
Andreas Gustafsson 367760352a the option for limiting log file versions
is called versions, not version
2001-03-09 00:59:44 +00:00
Andreas Gustafsson bfbeaf35ba rndc traced is now implemented 2001-03-09 00:57:19 +00:00
Bob Halley c6237585d8 Fix some typos in the non-threaded version of isc_rwlock_trylock() that
were preventing compilation.
2001-03-08 19:52:13 +00:00
Andreas Gustafsson f0a1134d33 updated 2001-03-08 18:44:59 +00:00
Brian Wellington 02e7e0ba65 775. [placeholder] 2001-03-08 18:21:49 +00:00
David Lawrence 8423f8296a added cacheclean to SUBDIRS to have its test execute with runall.sh 2001-03-08 16:19:35 +00:00
David Lawrence f3432e1b48 moved INADDR_LOOPBACK definition to lwres/net.h, because it was causing
redefinition warnings on multiple platforms
2001-03-08 16:09:41 +00:00
Andreas Gustafsson 9b850d4bd0 updated drafts 2001-03-08 15:54:40 +00:00
David Lawrence 590233519e 774. [func] max-cache-size is implemented.
773.	[func]		Added isc_rwlock_trylock() to attempt to lock without
			blocking.
2001-03-08 13:22:04 +00:00
David Lawrence 2283923028 a last minute edit added one too many conditions for putting a node on the
deletions list
2001-03-08 03:31:29 +00:00
Brian Wellington e2f470bebb Check that rndc stop syncs zone files. 2001-03-08 02:59:47 +00:00
Damien Neil 2f5f42596b - Stop can now use rndc, when passed the --use-rndc option.
- Slightly restructured code to eliminate duplication.
- No longer waits five seconds for a server to die, if it dies promptly.
2001-03-08 02:34:01 +00:00
David Lawrence 7f31a2eacc node joining no longer happens on deletion 2001-03-08 01:39:10 +00:00
David Lawrence cbcf2bf6e9 removed "max_cache_size = 0" line, allowing cache limiting 2001-03-08 01:38:39 +00:00
David Lawrence 85e80b5b69 Remove name/node from the rbtdb in no_references().
Iterator uses 'cleaning' flag to expire nodes.
2001-03-08 01:35:27 +00:00
David Lawrence 03609d0b8f Use a cleaning iterator (dns_dbiterator_setcleanmode()).
Reworked some overmem thread handling.
2001-03-08 01:22:48 +00:00
David Lawrence 31d3e8d2fe new function, dns_dbiterator_setcleanmode(), which enables cleaning
in the rbtdb
2001-03-08 01:16:06 +00:00
David Lawrence a09c545af1 join_nodes is removed; node joining is no longer done at any time, because
it corrupts active chains and can change the data at a node which
someone might be using.  (In the latter case, though the full name from
the root was still intact, and the ->data member was not altered, other
values like the partial name ndata and offsets could change.)

New functions dns_rbt_fullnamefromnode() and dns_rbt_formatnodename(),
for getting a dns_name_t and filling a char buffer, respectively, with
the complete name of a node from the root.

rbtnode.is_root was being treated as isc_boolean_t even though it was bitfield
of width 1.  This worked fine, but wasn't consistent with ISC style, and
would have puked if someone decided to change isc_true from 1 (unlikely
as that is).  Yeah, anal, I know.
2001-03-08 01:08:39 +00:00
Brian Wellington 8b9b498009 Check for duplicate zone and key statements. Note that duplicate server
and view statements are not detected, because they're harder.
2001-03-08 00:55:50 +00:00
David Lawrence a82fd2c01b added non-blocking locking, isc_rwlock_trylock() 2001-03-08 00:55:15 +00:00
Andreas Gustafsson 668f06c071 removed comments that no longer apply with the new
config code
2001-03-08 00:06:19 +00:00
Andreas Gustafsson d55642259e use a simpler, faster hash function 2001-03-07 23:52:16 +00:00
Andreas Gustafsson a771f831b9 stub zones don't do update forwarding 2001-03-07 23:37:15 +00:00
Brian Wellington 0783aab720 allow-update-forwarding is not allowed in stub zones. 2001-03-07 23:36:26 +00:00
Andreas Gustafsson 88a790c391 xref 771. -> [RT #919] 2001-03-07 22:46:58 +00:00
Andreas Gustafsson 123a3dddc9 772. [bug] Owner names could be incorrectly omitted from cache
dumps in the presence of negative caching entries.
                        [RT #991]
2001-03-07 22:30:21 +00:00
Andreas Gustafsson c434887bd5 compiler warning 2001-03-07 22:07:06 +00:00
Andreas Gustafsson c1e4e35ee4 #include <isc/print.h> 2001-03-07 22:04:11 +00:00
Brian Wellington 5ea0d11ca4 771. [cleanup] TSIG errors related to unsynchronized clocks
are logged better.
2001-03-07 20:53:32 +00:00
Andreas Gustafsson 3ba6d0298a rephrasing and typo 2001-03-07 18:52:34 +00:00
Andreas Gustafsson 125d183f2b document the 'dnssec' and 'lame-servers' log categories 2001-03-07 18:46:58 +00:00
Andreas Gustafsson 2357f291c5 edited 2001-03-07 18:06:22 +00:00
Andreas Gustafsson fc04bb9d98 lame server on ... -> lame server resolving ... [RT #641] 2001-03-07 18:03:07 +00:00
Andreas Gustafsson f34d7e453d yes -> <command>yes</command> 2001-03-07 00:25:22 +00:00
Brian Wellington d25dd5b056 770. [func] Add the "edns yes_or_no" statement to the server
clause. [RT #524]
2001-03-06 23:54:37 +00:00
Brian Wellington 3fccea030d #include <lwres/net.h> 2001-03-06 23:12:15 +00:00
Brian Wellington ac3f9fa1ec remove unnecessary #includes 2001-03-06 23:02:04 +00:00
Mark Andrews 9ac7076eba 769. [func] Improved error reporting when parsing rdata. [RT #740]
Two new error codes.  Also push back the last token, if it makes
sense to do so, so that it gets printed in the error message using
RETTOK macro, rather than straight return or RETERR.
2001-03-06 22:11:18 +00:00
Brian Wellington 93e66a44a0 remove #ifdef REENTRANT 2001-03-06 21:46:03 +00:00
Andreas Gustafsson 2c476880d6 parse_sockaddrsub() assumed current token was string
token withouth checking that it actually was; reformatted for
80 columns
2001-03-06 19:13:01 +00:00
Brian Wellington 7c294304af Fix a few places where the new config code would fail if there was no
config file (-c /dev/null).
2001-03-06 19:04:42 +00:00
Brian Wellington 72b7d215f7 The directory option didn't have the CFG_CLAUSEFLAG_CALLBACK bit set, so the
callback wasn't executed. [RT #978]
2001-03-06 18:17:52 +00:00
Mark Andrews 5aa9a23af5 MANYERRORS would cause the next line to be skipped if dns_rdata_fromtext failed. 2001-03-06 13:32:42 +00:00
Brian Wellington 19c388c98e remove 2 occurrences of 'the the' 2001-03-06 07:38:18 +00:00
Bob Halley 7c058f1c38 remove incorrect CNAME/DNAME dead-end code from NXDOMAIN handling 2001-03-06 06:57:47 +00:00
Mark Andrews 0c13f7af64 Document under what conditions client_allocsendbuf() is allowed to return
ISC_R_NOSPACE.  Add an INSIST to catch changes to callers.
2001-03-06 04:18:42 +00:00
Brian Wellington 668acc6107 remove a few references to deleted headers 2001-03-06 02:49:29 +00:00
Brian Wellington 5966e86744 Oops, revert an inadvertent checkin. 2001-03-06 02:40:13 +00:00