Commit graph

5221 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
740ae0808f when returning a socket error, use isc__errno2result() instead
of always returning ISC_R_UNEXPECTED
2001-05-14 23:58:33 +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
Andreas Gustafsson
fd5847ef09 828. [bug] The errno value from recvfrom() could be overwritten
by logging code. [RT #1293]
2001-05-14 18:20:03 +00:00
Mark Andrews
2510f0bd84 axi changes 2001-05-14 07:59:46 +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
Mark Andrews
6ddea57cb4 ais 2001-05-10 07:33:31 +00:00
Mark Andrews
9259ea7e4b aix 2001-05-10 07:29:54 +00:00
Brian Wellington
a62b21afd3 DST_TYPE_PUBLIC|DST_TYPE_PRIVATE 2001-05-10 06:05:54 +00:00
Mark Andrews
4dad906c2f port aix 2001-05-10 05:38:33 +00:00
Mark Andrews
84844522a2 AIX 2001-05-10 05:10:30 +00:00
Mark Andrews
ac7fa9937e sync 2001-05-10 05:10:11 +00:00
Mark Andrews
ba4e2f658e Aix: HOST_R_SET_RESULT HOST_R_SET_RETURN 2001-05-10 05:09:06 +00:00
Brian Wellington
4bd95a4965 fix a cut-and-paste-o and a warning 2001-05-10 04:50:28 +00:00
Mark Andrews
2ddb88d5d4 cync: aix 2001-05-10 04:29:17 +00:00
Mark Andrews
fa358dd30f aix 2001-05-10 04:28:22 +00:00
Mark Andrews
00c6d2626b Add aix 2001-05-10 04:23:15 +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
120cf12320 folded lines >80 chars; added comments; removed some unused code 2001-05-09 03:17:02 +00:00
Andreas Gustafsson
c3ebcedbe5 Add isc_file_progname(), with trivial POSIX implementation, and
call it from main().  A separate WIN32 implementation will be needed.
2001-05-08 19:47:55 +00:00
Mark Andrews
dbd6145418 sync 2001-05-08 07:07:11 +00:00
Mark Andrews
dd9b814ace strerror 2001-05-08 07:06:01 +00:00
Mark Andrews
1c81477123 oops2 2001-05-08 06:30:08 +00:00
Mark Andrews
8f7edcb227 more IPv6 macros 2001-05-08 06:25:30 +00:00
Mark Andrews
fcfb81e3c4 oops 2001-05-08 05:18:26 +00:00
Mark Andrews
ff8bc68af4 add various IPv6 macros 2001-05-08 05:15:13 +00:00
Mark Andrews
74186b65a3 add stdio.h 2001-05-08 04:38:28 +00:00
Mark Andrews
cf186bf745 add netbsd 2001-05-08 04:02:54 +00:00
Andreas Gustafsson
9dafd058e3 implemented 'rndc reconfig' 2001-05-07 23:34:24 +00:00
Mark Andrews
25ea25c811 undo part of bind8-823-v6-20010204a.diff 2001-05-07 06:07:44 +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
Brian Wellington
d144ea1d1c isc_file_basename should return a (const char *) 2001-05-05 02:47:21 +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