2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00
Commit Graph

4185 Commits

Author SHA1 Message Date
Mark Andrews
c03bb27f06 532. [func] Implement DNS UPDATE pseudo records using
DNS_RDATA_UPDATE flag.

 531.   [func]          Rdata really should be initalized before being
                        assigned to (dns_rdata_fromwire(), dns_rdata_fromtext(),
                        dns_rdata_clone(), dns_rdata_fromregion()),
                        check that it is.
2000-10-25 04:26:57 +00:00
Brian Wellington
f9e2482928 uninitialized link field. 2000-10-24 17:24:35 +00:00
Mark Andrews
389c749a5e 530. [func] New function dns_rdata_invalidate(). 2000-10-24 02:03:33 +00:00
Mark Andrews
72fa265baa 529. [bug] 521 contained a bug which caused zones to always
reload.  [RT #410]
2000-10-23 00:31:28 +00:00
Andreas Gustafsson
b28d2a3d7b the established alternate spelling of 'template' is
'templet', not 'templat'
2000-10-20 22:09:01 +00:00
Michael Sawyer
c9c5b25473 Fix overzealous printing of newlines in message_[pseudo]sectiontotext(). 2000-10-20 20:40:46 +00:00
Brian Wellington
f8a55f9955 Added "ndots" to the lwres{} statement in named.conf 2000-10-20 19:32:49 +00:00
Bob Halley
c69ad15d94 #include <dns/master.h> to get prototypes for loadmgr functions. 2000-10-20 15:59:52 +00:00
Mark Andrews
4b6d5b2312 528. [func] The ISC_LIST_XXXX macros now perform sanity checks
on their arguements.  ISC_LIST_XXXXUNSAFE can be use
                        to skip the checks however use with caution.
2000-10-20 13:35:58 +00:00
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
Mark Andrews
643f42815f Modified list macros w/ checking currently disabled. 2000-10-20 01:57:57 +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
Brian Wellington
1dc5c713eb removed unused variable 2000-10-19 01:10:24 +00:00
Brian Wellington
b05c91f9d5 The 'hints' parameter somehow turned into 'arg' in the middle of the
description.
2000-10-19 00:43:07 +00:00
Andreas Gustafsson
0a9b84a8a5 #include <lwres/netdb.h>, not lwres.h 2000-10-19 00:26:36 +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
Andreas Gustafsson
5b34d8267e revision 1.30 broke the default lwres address of 127.0.0.1
by incorrectly assuming that lwres_addr_parse() parses an address in string
form (it actually parses an address in lwres wire form)
2000-10-17 20:09:19 +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
Mark Andrews
78bdbbaccb 'more_frags' lost the memory after the last fragment. Add the remaining
memory to the appropriate free list.
2000-10-13 05:37:17 +00:00
Michael Sawyer
94b50bce2b Add zone-specific reload and refresh capability to server and rndc 2000-10-12 21:52:00 +00:00
Brian Wellington
3c0a818977 IPv6 portability 2000-10-12 21:39:23 +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