Commit Graph
4157 Commits
Author SHA1 Message Date
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
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 c0150ad6aa Don't call UNEXPECTED_ERROR if setsockopt(SO_TIMESTAMP) returns ENOPROTOOPT. 2000-10-12 00:35:49 +00:00
Brian Wellington 703dfde61b An out of memory error could cause an assertion. 2000-10-11 23:57:38 +00:00
Mark Andrews 479e643d54 use isc_mem_allocate for omapi_data_strdup to be consistant with
isc_mem_strdup
2000-10-11 21:19:01 +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
Mark Andrews 3030ea490c If the rename failed in isc_file_renameunique() unlink the temporary file. 2000-10-07 06:55:01 +00:00
Brian Wellington 568c0c0c10 forgot to add these files 2000-10-07 00:45:13 +00:00
Brian Wellington e0521dac5d Not all of the setsockopt failures logged the reason for failure. 2000-10-07 00:16:50 +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
Brian Wellington 6850cdd449 508. [func] dns_message_parse() can now do a best-effort
attempt, which should allow dig to print more invalid
                        messages.
2000-10-06 18:58:30 +00:00
Brian Wellington 4ed956c5c0 current snapshot of gss-tsig code. I'd be surprised if this works with
w2k, but a bind9 client and server can talk.
2000-10-06 17:08:15 +00:00
Brian Wellington 8f80322fb5 Support for lwresd on addresses other than 127.0.0.1. 2000-10-05 22:27:54 +00:00
Mark Andrews 2a37aa188c 507. [func] New functions dns_zone_flush(), dns_zt_flushanddetach()
and dns_view_flushanddetach().

 503 was incomplete.
2000-10-05 06:39:26 +00:00
Brian Wellington fc5332e1f4 Should compile now. 2000-10-04 20:50:25 +00:00
Brian Wellington 9d794b5203 Added lwres{} statement to named.conf. 2000-10-04 18:47:24 +00:00
Mark Andrews 75545fc8c4 If loading a slave/stub zone fails. Save the master file and journal and
initiate a zone transfer.
2000-10-03 05:47:45 +00:00
Mark Andrews 9282d220f4 New functions isc_file_template(), isc_file_renameunique().
isc_file_template() allows the caller to specify the prefix unlike
isc_file_mktemplate().  The later is now written using isc_file_template().
2000-10-03 05:45:39 +00:00