2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-28 21:17:54 +00:00

2831 Commits

Author SHA1 Message Date
Mark Andrews
cf573ce6fb More ISC_LINK_INIT fixes. 2000-10-20 13:29:37 +00:00
Mark Andrews
29c818c7d4 527. [func] New function dns_rdata_clone(). 2000-10-20 13:22:36 +00:00
Mark Andrews
5e589b5356 Uninitalised link fixes, batch 1. 2000-10-20 02:21:58 +00:00
Andreas Gustafsson
2baafa088c eliminate signed/unsigned char pointer warning 2000-10-19 23:40:31 +00:00
Andreas Gustafsson
f8020519b3 added more commentary 2000-10-19 18:09:34 +00:00
Mark Andrews
e6bd97dded Add 'flag' to rdata 2000-10-19 05:50:54 +00:00
Brian Wellington
5504e5d066 A few isc_mem_strdup() failures weren't handled well. 2000-10-19 01:38:26 +00:00
Andreas Gustafsson
5a11763ab2 added support for a search{} clause in the lwres{} statement 2000-10-19 01:26:39 +00:00
Andreas Gustafsson
4913f156c4 typo 2000-10-19 01:25:55 +00:00
Andreas Gustafsson
96aa1f5236 spacing 2000-10-19 01:25:38 +00:00
Mark Andrews
b55c30f2de 525. [func] New arguement 'exact' for dns_db_subtractrdataset(),
and dns_rdataslab_subtract() requesting that the RR's
                        must exist prior to deletion.  DNS_R_NOTEXACT is
                        returned if the condition is not met.
2000-10-18 23:53:31 +00:00
Brian Wellington
28bad71357 forward zones don't have dialup or pubkey fields 2000-10-18 21:18:47 +00:00
Brian Wellington
b43af69134 The parser leaked memory when printing the "references to zones not
implemented yet" warning.
2000-10-17 22:21:34 +00:00
Michael Sawyer
55aed608cc Add counters of incoming queries, server-wide and by zone. There is
currently no way to get these counts back *out* of the server, pending
a command channel.  A temporary channel should be built for these data
soon.
2000-10-17 20:57:26 +00:00
Mark Andrews
3688a648ff mising declarations 2000-10-17 10:59:48 +00:00
Mark Andrews
b20ee662a7 521. [bug] Detect master files which contain $INCLUDE and always
reload. [RT #196]

new result code DNS_R_SEENINCLUDE
dns_master_load* can now return DNS_R_SEENINCLUDE
2000-10-17 07:22:39 +00:00
Brian Wellington
8804fd9936 Split off the generic dns query functionality from the byaddr module into
the lookup module, and make byaddr use lookup.
2000-10-17 01:57:42 +00:00
Brian Wellington
6177fc9897 A lot of files generated by libtool were not properly ignored. 2000-10-16 23:44:25 +00:00
Michael Sawyer
34d2bdadb4 Oops on the last commit. Editor wasn't saved when I did the commit, and
the cvs diff output was very close to the correct one, so I didn't
notice the problem.
2000-10-16 22:26:25 +00:00
Michael Sawyer
ce82008f65 The change made in patch 233 was breaking preventing the server from
being built when sanitized.  Since there is no obvious reason for
notify->flags to be hidden behind sanitize ifdefs, move it public.
(Lots of places which referred to ->flags were not sanitized out.)
2000-10-16 21:14:29 +00:00
Mark Andrews
0d32cdd9a0 Check message id against expected id, fail / revert to AXFR on mismatch.
Skip check for second and subsequent messages if the query is AXFR.
2000-10-16 04:26:08 +00:00
Mark Andrews
20a313a458 Add DNS_R_UNEXPECTEDID. 2000-10-16 04:08:13 +00:00
Mark Andrews
d39e56173d Old BINDs will return FORMERR if the SOA is included in the NOTIFY.
Detect this and resend w/o SOA.
2000-10-16 04:05:43 +00:00
David Lawrence
72ce8db918 sigh. the last checkin only included RT #369 fix, not the other things I meant
to include.
2000-10-14 04:38:22 +00:00
David Lawrence
190fbe9738 519. [bug] dns_name_split() would improperly split some bitstring
labels, zeroing a few of the least signficant bits in
			the prefix part.  When such an improperly created
			prefix was returned to the RBT database, the bogus
			label was dutifully stored, corrupting the tree.
			[RT #369]

Also made dns_name_split() REQUIRE that suffixlabels always be greater than 0,
even when splitting a bitstring label (it already required this when not
splitting a bitstring label).  This is consistent with the way dns_name_split()
was called to split a name that consisted of a single label, a bitstring;
the appropriate suffixlabels value is 1 in such cases.

Also a fixed minor style error, and a confusing comment.
2000-10-14 04:31:31 +00:00
Brian Wellington
54477d367b The changes in #515 leaked memory and left dead code. 2000-10-13 23:21:17 +00:00
Bob Halley
c40085afa7 Fix problems with DNAME chain processing in the resolver, and with
retrievals of DNAMEs from the cache.  (Changes 516, 517, and 518).
2000-10-13 18:55:11 +00:00
Mark Andrews
10258f6b3d 515. [bug] The ssu table was not beinge attached / detached
by dns_zone_[sg]etssutable.  [RT#397]
2000-10-13 13:45:45 +00:00
Mark Andrews
b38ebe307c 514. [func] Retry refresh and notify queries if they timeout.
[RT #388]
2000-10-13 13:23:09 +00:00
Michael Sawyer
94b50bce2b Add zone-specific reload and refresh capability to server and rndc 2000-10-12 21:52:00 +00:00
Mark Andrews
256b8024a1 remve unused variable 2000-10-12 04:03:28 +00:00
Mark Andrews
588b63e1a8 512. [bug] The zone tranfer code could throw an execption with
an invalid IXFR stream.
2000-10-12 03:32:14 +00:00
Brian Wellington
3b2f0d1d66 #include <dst/gssapi.h> 2000-10-12 01:08:32 +00:00
Brian Wellington
0e5d6900bd Various hacks to allow (at some point in the future) interoperability
with Windows 2000's broken implementation of TKEY.
2000-10-12 00:40:52 +00:00
Brian Wellington
909e3c2288 Add support for tkey-gssapi-credential. Also do some cleanup allowing any
of the tkey options to be set without requiring all of them.
2000-10-12 00:39:17 +00:00
Brian Wellington
4a200b9022 Add tkey-gssapi-credential to the options section 2000-10-12 00:38:30 +00:00
Brian Wellington
703dfde61b An out of memory error could cause an assertion. 2000-10-11 23:57:38 +00:00
Bob Halley
303ca7abc9 #include <string.h> to get prototype for strlen(). 2000-10-11 17:57:35 +00:00
Michael Sawyer
dc570b92f6 Add support for proposed ZONE and VIEW opt attributes. These are currently
hidden behind #ifdef's, since no OPT code number has yet to be assigned
by the IANA.  They are also not quite complete in all regards; VIEW
options are understood and ignored.  ZONE options are understood and
acted upon, though some of the error cases aren't quite right.

Remove doubled isc_mem_stats in dighost.c

Update todo list.

Change literal 255's to DNS_NAME_MAXWIRE in name.c
2000-10-11 17:44:18 +00:00
Mark Andrews
c7294f9c0b Suppress spurious "hint zones do not have a dialup field". 2000-10-11 05:15:23 +00:00
Brian Wellington
cf2f889716 remove warning 2000-10-10 22:04:29 +00:00
Brian Wellington
e9871cc765 __func__ doesn't seem to exist. 2000-10-10 22:00:12 +00:00
Brian Wellington
d03a04f594 incorrect use of the sanitizer 2000-10-10 21:58:01 +00:00
Mark Andrews
452d75b18f 510. [bug] Remove spurious view notify warning. [RT #376] 2000-10-10 01:17:30 +00:00
Brian Wellington
ed6d98bffe freeing null pointers is bad 2000-10-09 18:20:18 +00:00
Brian Wellington
568c0c0c10 forgot to add these files 2000-10-07 00:45:13 +00:00
Brian Wellington
d1cbf71409 clean up suspicious looking and incorrect uses of dns_name_fromregion 2000-10-07 00:09:28 +00:00
Brian Wellington
e484f9de4f The nxt structure was basically useless. 2000-10-06 22:41:16 +00:00
Brian Wellington
d77d087809 uninitialized variables. oops. 2000-10-06 22:02:02 +00:00
Brian Wellington
f4b4e7c162 #include <string.h> 2000-10-06 21:20:59 +00:00