Commit graph

42 commits

Author SHA1 Message Date
Mark Andrews
511621255e 1528. [cleanup] Simplify some dns_name_ functions based on the
deprecation of bitstring labels.

1527.  [cleanup]       Reduce the number of gettimeofday() calls without
                       losing necessary timer granularity.
2004-03-08 21:06:29 +00:00
Mark Andrews
a821d5fa3d DNSSEC bis merge from HEAD:
1581.  [func]          Disable DNSSEC support by default.  To enable
                       DNSSEC specify "enable-dnssec yes;" in named.conf.

1565.  [bug]           CD flag should be copied to outgoing queries unless
                       the query is under a secure entry point in which case
                       CD should be set.

1558.  [func]          New DNSSEC 'disable-algorithms'.  Support entry into
                       child zones for which we don't have a supported
                       algorithm.  Such child zones are treated as unsigned.

1557.  [func]          Implement missing DNSSEC tests for
                       * NOQNAME proof with wildcard answers.
                       * NOWILDARD proof with NXDOMAIN.
                       Cache and return NOQNAME with wildcard answers.

1541.  [func]          NSEC now uses new bitmap format.

1519.  [bug]           dnssec-signzone:nsec_setbit() computed the wrong
                       length of the new bitmap.

1516.  [func]          Roll the DNSSEC types to RRSIG, NSEC and DNSKEY.
2004-03-08 02:08:05 +00:00
Mark Andrews
cbdd3a318b update lib copyrights 2004-03-06 08:15:48 +00:00
Mark Andrews
ed5f057fd5 1580. [bug] Zone destuction on final detach takes a long time.
[RT #3746]

1579.   [bug]           Multiple task managers could not be created.
2004-03-04 06:56:19 +00:00
Mark Andrews
694b001677 1586. [func] "check-names" is now implemented. 2004-02-27 21:45:34 +00:00
Mark Andrews
d6d893e17b 1509. [bug] Hint zones should accept delegation-only. Forward
zone should not accept delegation-only.

1508.   [bug]           Don't apply delegation-only checks to answers from
                        forwarders.

1507.   [bug]           Handle BIND 8 style returns to NS queries to parents
                        when making delegation-only checks.

1506.   [bug]           Wrong return type for dns_view_isdelegationonly().

1505.   [bug]           Uninitialised rdataset in sdb. [RT #8750]

1504.   [func]          New zone type "delegation-only".
2003-09-19 06:20:55 +00:00
Mark Andrews
0b5ddcc4c0 1128. [func] sdb drivers can now provide RR data in either text
or wire format, the latter using the new functions
                        dns_sdb_putrdata() and dns_sdb_putnamedrdata().
2003-08-08 04:04:10 +00:00
Andreas Gustafsson
389677e152 removed empty line 2001-06-28 21:34:54 +00:00
Brian Wellington
571688b02f Revert part of the ISC_MAGIC/ISC_MAGIC_VALID change. Because
common.impmagic is not the first four bytes of the struct,
ISC_MAGIC_VALID() cannot be used.
2001-06-06 22:03:58 +00:00
David Lawrence
92ef1a9b9d use ISC_MAGIC for all magic numbers, for our friends in EBCDIC land 2001-06-04 19:33:39 +00:00
Brian Wellington
e2fd12f3a0 841. [bug] When sdb modules were not declared threadsafe, their
create and destroy functions were not serialized.
2001-05-29 18:34:24 +00:00
Brian Wellington
de32cbd34e remove a cut-and-paste-o 2001-05-02 19:25:19 +00:00
Brian Wellington
d2aebe24c4 Allocate the initial buffer for rdata based on the length of the string, to
avoid reallocations and annoying messages.
2001-05-02 18:58:56 +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
a012d6dbfb 746. [bug] The sdb didn't clone rdatasets properly, causing
a crash when the server followed delegations. [RT #905]
2001-02-20 23:20:44 +00:00
Andreas Gustafsson
d156c10aee removed extra empty line 2001-02-14 00:29:16 +00:00
Brian Wellington
f24c135e09 738. [bug] If a non-threadsafe sdb driver supported AXFR and
received an AXFR request, it would deadlock or die
                        with an assertion failure.
(also some other cleanups)
2001-02-13 20:11:15 +00:00
Brian Wellington
b7cd261f2f dns_name_concatenate(foo, NULL, bar, NULL) -> dns_name_copy(foo, bar, NULL) 2001-02-05 19:47:05 +00:00
Brian Wellington
499b34cea0 copyright update 2001-01-09 22:01:04 +00:00
Brian Wellington
5d85bf183f missing 'static' 2000-12-21 01:58:37 +00:00
Brian Wellington
78838d3e0c 8 space -> tab conversion 2000-12-11 19:24:30 +00:00
Brian Wellington
23f64ea0dc 594. [func] sdb drivers are now assumed to not be thread-safe
unless the DNS_SDBFLAG_THREADSAFE flag is supplied.
(also make the dirdb.c driver specify DNS_SDBFLAG_THREADSAFE)
2000-12-06 01:08:41 +00:00
Mark Andrews
f8abaa0fae Used a unsigned int rather than a boolean to indicate subtrations making
the API more consistant between dns_db_{add,subtract}rdataset(),
dns_rdataslab_{merge,subtract}().

Adjust previous CHANGES to reflect above as this is not yet end user visible.

Add missing CHANGES entry for add/merge.
2000-12-01 01:22:45 +00:00
Andreas Gustafsson
7a6f285bc9 added UNUSED() macros for arguments that end up unused when assertion checking
is turned off
2000-12-01 01:00:47 +00:00
Brian Wellington
6fd4ab217e missing "static" keyword. 2000-11-18 01:35:13 +00:00
Brian Wellington
229ce407c3 Initialize dns_rdata_fromtext callbacks, so that errors aren't logged to
stdout.
2000-11-17 23:32:27 +00:00
Brian Wellington
34f9910283 the removal of "simple" left an off by one error. 2000-11-17 01:27:34 +00:00
Brian Wellington
77ac297199 Database and simple database implementations (except rbt and rbt64) are
registered dynamically.  Simple database drivers no longer use the
keyword "simple" in named.conf - the driver name is sufficient.
2000-11-16 22:33:53 +00:00
Brian Wellington
341629dbc2 sdb should not be sanitized away anymore. 2000-11-16 01:41:02 +00:00
Brian Wellington
ebfcb6cf66 550. [func] Support unknown rdata types and classes. 2000-11-09 23:55:05 +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
f4b4e7c162 #include <string.h> 2000-10-06 21:20:59 +00:00
Brian Wellington
8614264835 protect the simple database stuff with NOMINUM_PUBLIC 2000-09-26 22:45:59 +00:00
Mark Andrews
4a30ede93d add overmem method 2000-08-31 13:04:47 +00:00
Brian Wellington
5e387b9ce6 and more calls to DESTROYLOCK 2000-08-26 01:37:00 +00:00
Brian Wellington
0a45f098e4 Obey the DNS_DBFIND_GLUEOK flag in find(). 2000-08-23 18:45:13 +00:00
Brian Wellington
60b90a37f4 Support for AXFR and minor cleanup. 2000-08-23 18:28:03 +00:00
Brian Wellington
75e1e12f48 use a 'dns_sdbmethods_t' instead of passing all of the functions to
dns_sdb_register as parameters.
2000-08-22 22:06:46 +00:00
Andreas Gustafsson
8a63ecd933 silenced compiled warning about a potentially uninitialized
variable; INSIST that the variable is indeed initialized
2000-08-22 17:32:07 +00:00
Andreas Gustafsson
acec8ad69d CVS Id was duplicated; removed an empty line 2000-08-22 01:27:27 +00:00
Brian Wellington
a4c351fcef Add a flags field to dns_sdb_register. One flag requests that names passed in
be relative, and another specifies that rdata strings will contain relative
names.
2000-08-22 00:53:31 +00:00
Brian Wellington
033ba09d6d Simple database implementation. This includes a wrapper that makes a simple
database look like a dns_db_t, and a set of routines to be called by specific
simple databases.
2000-08-21 22:15:28 +00:00