2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00
Commit Graph

3429 Commits

Author SHA1 Message Date
Bob Halley
4e9d4ceadf Take two of new semantics for ANY queries at zone cut points. Now doing
an ANY query at a zone cut point will return a delegation, except if
DNS_DBFIND_GLUEOK is set, in which case DNS_R_ZONECUT will be returned as
before.  Someday it would probably be a good idea to get rid of DNS_R_ZONECUT
entirely and just return DNS_R_GLUE in that case, but I was afraid to do
that now since it might break things.  These changes pass all system tests.
2001-05-15 05:35:27 +00:00
Andreas Gustafsson
0d205b805a backed out changes to handling of DNS_DBFIND_VALIDATEGLUE
option in previous commit - they broke DNS_DBFIND_GLUEOK lookups,
causing several of the system tests to fail
2001-05-15 03:52:31 +00:00
Andreas Gustafsson
135b1206c9 don't retry UDP receives after they return an error -
an error return from the socket library means the library has already
decided that the error is not retryable and likely to throw
us into an infinite loop if retried
2001-05-14 23:10:19 +00:00
Andreas Gustafsson
054777a694 eliminated redundant assignments to disp->shutting_down;
if shutting down due to error, set disp->shutdown_why to the appropriate result
code, not to ISC_R_EOF
2001-05-14 22:07:40 +00:00
Brian Wellington
50097b38c0 830. [func] Implement 'rndc status'. 2001-05-14 20:44:16 +00:00
Bob Halley
751aa24c98 only return DNS_R_ZONECUT from secure zones 2001-05-14 19:25:59 +00:00
Brian Wellington
ecf4962155 more of 'rndc status' 2001-05-14 19:06:47 +00:00
Mark Andrews
a9aeae8dc0 more #824 fine tuning.
ictx->drop is inherited when a include file is pushed.
NOTE: it is *not* restored when the include file is subsequently popped as
	the current owner is restored to the state it was before the file
	was pushed.
we missed setting source & line after one successful pushfile().
2001-05-14 06:22:40 +00:00
Mark Andrews
378f5abd5f fine tune #824 2001-05-11 02:35:37 +00:00
Brian Wellington
177ede307a minor internal reorganization (yes, this will all become clear at some point) 2001-05-10 19:07:18 +00:00
Andreas Gustafsson
a9ef485446 If IXFR fails, fall back to AXFR 2001-05-10 17:51:49 +00:00
Andreas Gustafsson
344a21e7c7 the return value of ixfr_apply() was not checked 2001-05-10 16:27:14 +00:00
Andreas Gustafsson
17ed6b7945 when subtracting a nonempty rdataset from a nonexistent rdataset
and the DNS_DBSUB_EXACT flag, dns_db_subtractrdataset() should return
DNS_R_NOTEXACT, not DNS_R_UNCHANGED.
2001-05-10 16:26:07 +00:00
Brian Wellington
a62b21afd3 DST_TYPE_PUBLIC|DST_TYPE_PRIVATE 2001-05-10 06:05:54 +00:00
Brian Wellington
4bd95a4965 fix a cut-and-paste-o and a warning 2001-05-10 04:50:28 +00:00
Brian Wellington
8e4da48fa7 consolidated duplicated code for filename mangling, removed sanity checks that
weren't.
2001-05-09 23:04:50 +00:00
Brian Wellington
35582313f7 add dns_zt_zonecount(), which counts the number of zones in a zonetable. 2001-05-09 21:34:19 +00:00
Mark Andrews
f3dd74f1cd ignore in no longer needed in commit. 2001-05-09 07:18:38 +00:00
Bob Halley
42dfa2455d bump version to avoid horrible confusion 2001-05-09 06:12:52 +00:00
Mark Andrews
69d44b2f5a 825. [bug] zone.c:ns_query() detached from the wrong zone
reference.  [RT #1263]
2001-05-09 05:20:28 +00:00
Mark Andrews
f08f3c6cae 824. [bug] Correct line numbers reported by dns_master_load().
[RT #1263].
2001-05-09 03:41:47 +00:00
Andreas Gustafsson
9dafd058e3 implemented 'rndc reconfig' 2001-05-07 23:34:24 +00:00
Danny Mayer
94ebc518d0 buffer request needs cast for win32 2001-05-06 02:24:08 +00:00
Danny Mayer
db1bfc3151 htons needs cast for win32 2001-05-06 02:23:06 +00:00
David Lawrence
e40cd7f5c9 preserve a reference to the node lock across a call to no_references() in
detachnode
2001-05-05 02:42:38 +00:00
Andreas Gustafsson
bdb60248c3 oops, removed the wrong declaration 2001-05-04 23:57:22 +00:00
Andreas Gustafsson
a08f7f4a6c frombuffer() was declared 'static' but defined
without 'static'
2001-05-04 17:57:33 +00:00
Andreas Gustafsson
2788f21727 don't install the now-nonexistent <dns/namedconf.h> 2001-05-04 17:08:43 +00:00
Brian Wellington
de32cbd34e remove a cut-and-paste-o 2001-05-02 19:25:19 +00:00
Brian Wellington
d2aebe24c4 Allocate the initial buffer for rdata based on the length of the string, to
avoid reallocations and annoying messages.
2001-05-02 18:58:56 +00:00
Andreas Gustafsson
af46049567 removed <dns/namedconf.h>, which pertained to the old
configuration parser
2001-05-02 17:39:51 +00:00
Bob Halley
1a286a6613 In certain cases, the resolver's attempts to restart an address lookup
at the root could cause the fetch to deadlock (with itself) instead of
restarting. [RT #1225]
2001-05-02 17:29:17 +00:00
Brian Wellington
3840dba289 Comment a particularly subtle bit of code. 2001-05-02 00:03:12 +00:00
Brian Wellington
05183bbc4f Signing with a large key didn't work since the static output buffer was too
small; use a dynamic buffer instead.  Also, comment a section
2001-05-02 00:02:28 +00:00
Andreas Gustafsson
570234616c when following A6 chains, glue was inadvertantly ignored 2001-05-01 23:17:48 +00:00
Andreas Gustafsson
784d78b831 commented 2001-04-30 18:27:10 +00:00
Andreas Gustafsson
1dbec28030 removed declarations of nonexistent functions 2001-04-30 18:09:31 +00:00
Andreas Gustafsson
9762fd29cc DNAME now has an RFC 2001-04-27 21:02:01 +00:00
Mark Andrews
ecaedd50f4 817. [func] Adjust timeouts for dialup zone queries. 2001-04-27 02:34:18 +00:00
Andreas Gustafsson
e482a1c91e cache dumps now include trust levels and ncache entries 2001-04-26 21:17:56 +00:00
Andreas Gustafsson
cb77fe457a "sending notifies (%u)" -> "sending notifies (serial %u)" 2001-04-24 23:03:04 +00:00
Bob Halley
38d21a360a only reacquire the lock in no_references() if we actually gave it up 2001-04-24 17:03:54 +00:00
Andreas Gustafsson
6f118c4893 removed redundant 'i++;' 2001-04-24 00:56:17 +00:00
David Lawrence
ed1c40264e sigh. do not set the lock from node->locknum until being sure node is not null 2001-04-20 21:22:09 +00:00
David Lawrence
a0e1f68e14 Now that no_references() reacquires the node lock after deleting the node,
all of its callers need to maintain a reference to the lock that doesn't
involve looking at node->locknum after no_references() was called.
2001-04-20 14:35:04 +00:00
Andreas Gustafsson
cedd0ab1e8 811. [bug] Parantheses were not quoted in zone dumps. [RT #1194] 2001-04-19 18:39:42 +00:00
Brian Wellington
59c85e1636 Return ISC_R_NOSPACE if the buffer isn't large enough to hold the DNS header. 2001-04-19 18:28:35 +00:00
David Lawrence
f6f8d61a77 reacquire the node lock the caller held before returning from no_references() 2001-04-18 08:06:11 +00:00
Brian Wellington
8c3989000a 810. [bug] The signer name in SIG records was not properly
downcased when signing/verifying records. [RT #1186]
2001-04-17 17:20:27 +00:00
Brian Wellington
4e56b9615f remove the (now) redundant setting of the magic number. 2001-04-16 21:14:27 +00:00