Commit Graph
3369 Commits
Author SHA1 Message Date
Mark Andrews 86529bb697 806. [bug] DNS_R_SEENINCLUDE was failing to propogate back up
the calling stack to the zone maintence level.
2001-04-10 03:05:55 +00:00
Andreas Gustafsson abd51a9a96 removed unused label 2001-04-10 00:18:27 +00:00
Brian Wellington daad43e5a4 802. [bug] DNSSEC key tags were computed incorrectly in almost
all cases. [RT #1146]
2001-04-04 02:02:58 +00:00
Bob Halley 907620b5e0 The ADB didn't find AAAA glue in a zone unless A6 glue was also present. 2001-03-30 17:27:29 +00:00
Brian Wellington 414d289686 oops, cut-and-paste-o 2001-03-30 00:34:52 +00:00
Brian Wellington e0bab4386b Treat a zone as secure only if it has a zone key and a signed NXT at the apex. 2001-03-30 00:33:39 +00:00
Brian Wellington ec56b96c79 log sending of notifies at info level, and include the serial number. Also
clean up some weird code. [RT #1088]
2001-03-28 23:36:53 +00:00
Brian Wellington caa55a6557 When printing KEY records with COMMENT and MULTILINE, the line would often
be too long.
2001-03-28 02:57:26 +00:00
Brian Wellington 668f8d91db 795. [func] Add the +multiline option to dig.
(which requires dns_message_totext(), etc. to take a style parameter)
2001-03-28 02:42:56 +00:00
Andreas Gustafsson bed7a35293 dns_master_questiontotext() needs a style argument after all 2001-03-28 00:58:15 +00:00
Andreas Gustafsson bfe313722d dns_masterfile_style_debug -> dns_master_style_debug 2001-03-28 00:54:40 +00:00
Andreas Gustafsson 531eafa302 use dns_master_rdatasettotext() &co; removed unused flag
DNS_MESSAGETEXTFLAG_OMITDOT
2001-03-28 00:50:05 +00:00
Andreas Gustafsson 421551db8a new functions dns_master_rdatasettotext() and dns_master_questiontotext(),
replacing dns_rdataset_totext()
2001-03-28 00:22:16 +00:00
Brian Wellington 45e22378fc dns_name_tofilenametext() now downcases the name, which means the callers
don't need to.
2001-03-27 23:43:15 +00:00
Brian Wellington 7d7215baf8 Add dns_name_tofilenametext(), and use it in the dnssec tools. 2001-03-27 22:57:48 +00:00
Andreas Gustafsson b52a5b0630 790. [bug] Wildcards created using dynamic update or IXFR
could fail to match. [RT #1111]
2001-03-27 00:06:34 +00:00
Brian Wellington 6eccf5bd07 788. [feature] Add the "match-mapped-addresses" options, which
causes IPv6 v4mapped addresses to be treated as
			IPv4 addresses for the purpose of acl matching.
2001-03-26 21:33:07 +00:00
Brian Wellington 0a10d7722e remove comment referring to dead code. 2001-03-26 21:11:33 +00:00
Brian Wellington b8a85202af 786. [bug] When signing/verifying data, names were not properly
downcased.
2001-03-23 03:51:04 +00:00
Andreas Gustafsson c52683ae45 'serial-query-rate 1;' caused an assertion failure 2001-03-23 00:33:28 +00:00
Brian Wellington 27422dd5db typo [RT #1094] 2001-03-21 20:45:55 +00:00
Andreas Gustafsson b879ed05f4 785. [bug] A race condition in the resolver could cause
an assertion failure. [RT #673, #872, #1048]
2001-03-20 22:13:00 +00:00
Brian Wellington 54d64c7994 782. [feature] Implement the serial-query-rate option. 2001-03-19 22:34:14 +00:00
Brian Wellington c302b021cc the sdb returned the wrong answer when querying for dnames below other dnames
and ANY queries at delegation points.
2001-03-17 02:52:29 +00:00
Brian Wellington ae114ded82 Fix a bunch of unused variable warnings that only occurred with assertions
turned off.
2001-03-16 22:53:20 +00:00
Brian Wellington 0d19c777ae Use a counter instead of a flag to indicate if the resolver is in the
process of connecting.  There's a possibility that a connect might not
have sent a completion event when another one starts, and this could cause
bad things to happen since the query would only know about one connect.
2001-03-16 21:50:59 +00:00
Brian Wellington fc0d37fa3a init the name in dns_message_gettempname(). This means it'll be done twice
in many cases, but it means dns_message_puttempname() can safely be called
on the name in all cases.
2001-03-15 03:00:50 +00:00
Brian Wellington 2048bb8c0c dns_message_parse() cannot return DNS_R_MOREDATA. 2001-03-15 02:00:15 +00:00
Bob Halley d911284333 add support for minimal-responses 2001-03-14 21:53:29 +00:00
Mark Andrews b01cd0d5c7 Use dns_dispatch_getlocaladdress() to retrieve the local address to bind too. 2001-03-13 05:49:58 +00:00
Mark Andrews a674e7ecec add dns_dispatch_getlocaladdress(). 2001-03-13 05:48:41 +00:00
Brian Wellington d03fd76636 add a cast [RT #1013] 2001-03-12 22:39:36 +00:00
Brian Wellington 461260ac15 add casts [RT #1017] 2001-03-12 22:27:15 +00:00
Mark Andrews a65826596f Add const to declaration of start_directory(); 2001-03-12 01:05:52 +00:00
Andreas Gustafsson dd57718608 #include <isc/print.h> 2001-03-09 23:38:00 +00:00
David Lawrence 2283923028 a last minute edit added one too many conditions for putting a node on the
deletions list
2001-03-08 03:31:29 +00:00
David Lawrence 85e80b5b69 Remove name/node from the rbtdb in no_references().
Iterator uses 'cleaning' flag to expire nodes.
2001-03-08 01:35:27 +00:00
David Lawrence 03609d0b8f Use a cleaning iterator (dns_dbiterator_setcleanmode()).
Reworked some overmem thread handling.
2001-03-08 01:22:48 +00:00
David Lawrence 31d3e8d2fe new function, dns_dbiterator_setcleanmode(), which enables cleaning
in the rbtdb
2001-03-08 01:16:06 +00:00
David Lawrence a09c545af1 join_nodes is removed; node joining is no longer done at any time, because
it corrupts active chains and can change the data at a node which
someone might be using.  (In the latter case, though the full name from
the root was still intact, and the ->data member was not altered, other
values like the partial name ndata and offsets could change.)

New functions dns_rbt_fullnamefromnode() and dns_rbt_formatnodename(),
for getting a dns_name_t and filling a char buffer, respectively, with
the complete name of a node from the root.

rbtnode.is_root was being treated as isc_boolean_t even though it was bitfield
of width 1.  This worked fine, but wasn't consistent with ISC style, and
would have puked if someone decided to change isc_true from 1 (unlikely
as that is).  Yeah, anal, I know.
2001-03-08 01:08:39 +00:00
Andreas Gustafsson 123a3dddc9 772. [bug] Owner names could be incorrectly omitted from cache
dumps in the presence of negative caching entries.
                        [RT #991]
2001-03-07 22:30:21 +00:00
Brian Wellington 5ea0d11ca4 771. [cleanup] TSIG errors related to unsynchronized clocks
are logged better.
2001-03-07 20:53:32 +00:00
Andreas Gustafsson fc04bb9d98 lame server on ... -> lame server resolving ... [RT #641] 2001-03-07 18:03:07 +00:00
Brian Wellington d25dd5b056 770. [func] Add the "edns yes_or_no" statement to the server
clause. [RT #524]
2001-03-06 23:54:37 +00:00
Mark Andrews 9ac7076eba 769. [func] Improved error reporting when parsing rdata. [RT #740]
Two new error codes.  Also push back the last token, if it makes
sense to do so, so that it gets printed in the error message using
RETTOK macro, rather than straight return or RETERR.
2001-03-06 22:11:18 +00:00
Mark Andrews 5aa9a23af5 MANYERRORS would cause the next line to be skipped if dns_rdata_fromtext failed. 2001-03-06 13:32:42 +00:00
Brian Wellington 438b80a31b Remove the old configuration parser 2001-03-05 22:49:33 +00:00
Brian Wellington e43b9a2005 move compression context create/delete into the caller of the message
rendering functions.  This reduces the size of the message object.
2001-03-05 21:15:47 +00:00
Brian Wellington be066f0629 Put 4 offsets in a msgblock, not 8. offsets are big enough that this helps.
Also remove an unused variable.
2001-03-05 20:12:49 +00:00
Brian Wellington 5f8b996a81 Reduce the number of objects preallocated in the message, which reduces
the per-recursive-client memory.
2001-03-05 20:06:10 +00:00