Commit Graph
1155 Commits
Author SHA1 Message Date
Mark Andrews 309979a136 pullup:
Removed all code within #ifdef DNS_OPT_NEWCODES*.
It was the last thing being sanitized out of releases; removing
it makes it possible to eliminate the sanitation process.
2001-11-15 01:24:21 +00:00
Andreas Gustafsson 63d380e078 pullup:
1116.   [bug]           Setting transfers in a server clause, transfers-in,
                        or transfers-per-ns to a value greater than
                        2147483647 disabled transfers.  [RT #2002]
(Technically, this is an API change, but since it only changes the signedness of some
function parameters, it is still binary compatible in practice and I'll let it slip
by without bumping the major library version number)
2001-11-13 18:57:14 +00:00
Andreas Gustafsson d76ac5ddfd pullup:
install soa.h
2001-11-09 23:17:17 +00:00
Mark Andrews 8002894e6e pullup:
1042.   [bug]           The "config" logging category did not work properly.
                        [RT #1873]
2001-10-11 02:03:23 +00:00
Brian Wellington a25169ea43 pullup:
1006.   [bug]           If a KEY RR was found missing during DNSSEC validation,
			an assertion failure could subsequently be triggered
			in the resolver. [RT #1763]
2001-09-19 21:51:42 +00:00
Andreas Gustafsson 89227c76be pullup:
977.   [bug]           Improve "not at top of zone" error message.
2001-09-04 22:51:41 +00:00
Mark Andrews 28fc90e6c8 #857 was incomplete, ISC_MAGIC was not being used everwhere it should have been.
'magic' was not being declared consistantly.
some #include <isc/magic.h> were missing from other include files.
NS_SERVER_VALID was not using ISC_MAGIC_VALID.
2001-08-28 03:58:29 +00:00
Andreas Gustafsson 9c067741f1 don't #define DNS_STATS_NCOUNTERS in two different places [RT #1666] 2001-08-27 21:47:00 +00:00
Mark Andrews 73ac1894ea 964. [func] Warn if non root hints data is found in hints file. 2001-08-27 03:36:00 +00:00
Brian Wellington ee3ab6063d 945. [func] Add the new view-specific options
"match-destinations" and "match-recursive-only".
2001-07-26 20:42:46 +00:00
Andreas Gustafsson 831bbce008 commented trust levels 2001-07-23 17:55:37 +00:00
Danny Mayer f621719829 Added support for Win32 2001-07-16 05:10:30 +00:00
Andreas Gustafsson 23ac0d8259 comments for dns_message_parse() referred to
nonexistent arguments
2001-06-14 18:38:48 +00:00
Mark Andrews 03f91269f5 856. [func] Allow partial rdatasets to be returned in answer and
authority sections to help non-TCP capable clients
                        recover from truncation.  [RT #1301]
2001-06-05 09:02:16 +00:00
Bob Halley eba5c23154 undo 1.54, which was an accidental commit 2001-06-01 03:07:54 +00:00
Bob Halley 875542855a update to 9.3.0, now that the 9.2 release branch has been created 2001-06-01 03:05:07 +00:00
Brian Wellington 59d5cc31e5 #include <dns/types.h> 2001-06-01 01:09:10 +00:00
Brian Wellington 1969ab5360 copyright updates 2001-05-30 20:31:08 +00:00
Andreas Gustafsson e7a4f58d55 833. [cleanup] Moved dns_soa_*() from <dns/journal.h> to
<dns/soa.h>, and extended them to support
			all the integer-valued fields of the SOA RR.
2001-05-21 23:56:34 +00:00
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
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 a9ef485446 If IXFR fails, fall back to AXFR 2001-05-10 17:51:49 +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
Andreas Gustafsson 9dafd058e3 implemented 'rndc reconfig' 2001-05-07 23:34:24 +00:00
Andreas Gustafsson bdb60248c3 oops, removed the wrong declaration 2001-05-04 23:57:22 +00:00
Andreas Gustafsson 2788f21727 don't install the now-nonexistent <dns/namedconf.h> 2001-05-04 17:08:43 +00:00
Andreas Gustafsson af46049567 removed <dns/namedconf.h>, which pertained to the old
configuration parser
2001-05-02 17:39:51 +00:00
Andreas Gustafsson 1dbec28030 removed declarations of nonexistent functions 2001-04-30 18:09:31 +00:00
Andreas Gustafsson e482a1c91e cache dumps now include trust levels and ncache entries 2001-04-26 21:17:56 +00:00
Brian Wellington c20ffa38de 808. [func] Add 'rndc flush' to flush the server's cache. 2001-04-11 20:37:50 +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 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
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 54d64c7994 782. [feature] Implement the serial-query-rate option. 2001-03-19 22:34:14 +00:00
Bob Halley d911284333 add support for minimal-responses 2001-03-14 21:53:29 +00:00
Mark Andrews a674e7ecec add dns_dispatch_getlocaladdress(). 2001-03-13 05:48:41 +00:00
Brian Wellington 461260ac15 add casts [RT #1017] 2001-03-12 22:27:15 +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
Brian Wellington 5ea0d11ca4 771. [cleanup] TSIG errors related to unsynchronized clocks
are logged better.
2001-03-07 20:53:32 +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
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
Andreas Gustafsson d1cc210d20 RT #927 fix from Bob:
759.   [bug]           The resolver didn't turn off "avoid fetches" mode
                        when restarting, possibly causing resolution
                        to fail when it should not.  This bug only affected
                        platforms which support both IPv4 and IPv6. [RT #927]

 758.   [bug]           The "avoid fetches" code did not treat negative
                        cache entries correctly, causing fetches that would
                        be useful to be avoided.  This bug only affected
                        platforms which support both IPv4 and IPv6. [RT #927]
2001-02-28 20:51:22 +00:00