Bob Halley
d1409e874b
add XXXRTH comment about CNAME and other data
2000-02-19 00:10:46 +00:00
Bob Halley
73016bd7ef
In the case where an rdataset subtraction resulted in the nonexistence
...
of the rrset, the subtraction code created a nonexistent rdataset
entry with an incorrect type (the "covers" part of the type was not
set).
2000-02-11 02:17:56 +00:00
Bob Halley
535f453de3
The zone node cleaner did least serial number cleaning too soon, which
...
could result in the incorrect deletion of the most recent version of a
node when a rollback occurred.
2000-02-11 01:51:33 +00:00
James Brister
d549c37348
Support ondestroy notfication of databases.
2000-02-10 16:09:01 +00:00
Brian Wellington
6cac2e0f7a
dns_db_deleterdataset can now delete SIG sets.
2000-02-08 19:25:37 +00:00
Bob Halley
7d32c065c7
update copyright
2000-02-03 23:50:32 +00:00
Bob Halley
2d8ac40e14
Wildcard matching was broken.
2000-02-02 21:22:09 +00:00
Bob Halley
64e829fffb
allow db adds to be forced
2000-01-25 19:26:45 +00:00
Bob Halley
3baef4d529
Detaching an rdataset after the last reference to its database had been
...
detached did not trigger an exit check if the bucket's reference count went
to zero.
2000-01-21 02:43:07 +00:00
Bob Halley
48870cbd6e
eliminate compiler warning
2000-01-18 20:57:06 +00:00
Mark Andrews
f6c1a76e91
Cached NXDOMAIN for type ANY queries should be bound to a rdataset.
1999-12-23 06:50:51 +00:00
Michael Graff
3ddd814a97
dns_result_t is no more. s/dns_result_t/isc_result_t/ -- more later, when I need a break.
1999-12-23 00:09:04 +00:00
Mark Andrews
491319c34c
dbiterator_pause (dns_dbiterator_pause) can now pause a interator after
...
hitting end of chain. If we have a node increase its reference count
and set paused flag.
1999-12-22 03:01:02 +00:00
Michael Graff
58aaab3687
isc_stdtime_get() now returns void, not isc_result_t.
1999-12-16 23:29:07 +00:00
Michael Graff
440be4c866
move util.h to <isc/util.h>
1999-12-16 22:24:22 +00:00
Bob Halley
b65c1b247f
add DNS_DBFIND_PENDINGOK support
1999-11-23 20:53:17 +00:00
Bob Halley
b223821425
ANY queries should not match negative cache entries
1999-11-09 02:27:46 +00:00
Michael Graff
b06ac13313
check for NULL before filling in retured node pointer.
1999-11-04 18:42:27 +00:00
Bob Halley
8d298aca1c
suppress glue in most cache retrievals; get rid of NXGLUE
1999-10-25 21:19:02 +00:00
Bob Halley
bad8294771
add const to filename args
1999-10-25 18:42:09 +00:00
Bob Halley
9acbfdb6a2
add dns_db_findzonecut()
1999-10-21 17:50:36 +00:00
Bob Halley
65c025fdf2
The wildcard code added in 1.69 broke DNAMEs at the zone origin.
1999-10-18 21:04:04 +00:00
Bob Halley
c144a41078
CNAME signature finding could fail in cache_find().
1999-10-17 19:21:02 +00:00
Bob Halley
1aaa8e40df
Add support for negative cache entries to add().
1999-10-16 00:49:33 +00:00
Bob Halley
ad6a3ba5ef
Start ncache support
1999-10-15 20:51:38 +00:00
David Lawrence
1398d0a72d
chain->level_matches can be -1 in find_deepest_zonecut() if the node that
...
was found is in the topmost tree; so compare > 0 rather than != 0.
cast RBTDB_RDATATYPE_{BASE,EXT}() to dns_rdatatype_t to shut up NT's CL.
The value of each is already suitably bit masked to dns_rdatatype_t size.
#undef IGNORE before making a new definition; CL's winbase.h defines it.
2nd parameter of allocate_version changed from "unsigned int serial" to
"rbtdb_serial_t serial" to have proper sizing when compiled as rbtdb64.c.
cast header->type in two function calls to dns_rdatatype_t.
1999-10-12 14:14:57 +00:00
Bob Halley
3c24b4ebae
addrdataset() now returns the existing rdataset in addedrdataset if the
...
result is DNS_R_UNCHANGED.
Adjust find_deepest_zonecut() to deal with the new treatment of level_matches
by the RBT code. These changes, combined with the RBT changes, fix a bug
where the wrong delegation was returned if the partial match was a terminal
node in the RBT.
Deal with wildcards of the form *.<zone_origin>. This stops us from
treating the zone top as a delegation point if wildcards are present.
delegating_type() was erroneously returning true for type NS records in a
cache database.
1999-10-11 19:23:48 +00:00
Bob Halley
7837d14621
add dns_rdataset_count()
1999-09-21 20:40:42 +00:00
Bob Halley
e64e605ed6
bind_rdataset() was not setting the trust field
1999-09-14 20:05:16 +00:00
Bob Halley
870288a1fa
DNS_R_NXGLUE
1999-09-13 18:27:26 +00:00
Bob Halley
90c2adec84
zone_findrdataset() could cause a core dump
1999-09-08 16:11:31 +00:00
Bob Halley
0b157747b3
findrdataset can now return a sig
1999-09-08 01:10:08 +00:00
Bob Halley
b3a569d85c
rdataset_clone was broken
1999-09-07 23:05:20 +00:00
Bob Halley
b3e2e7c4d6
add dns_db_issecure()
1999-09-07 18:12:11 +00:00
Bob Halley
065273f52a
add _last, _prev, and _seek for dbiterators
1999-09-02 16:43:45 +00:00
Bob Halley
732e0731de
SIG support
1999-08-31 22:14:06 +00:00
Andreas Gustafsson
6c2add5009
don't test cache databases for secure status
1999-08-27 12:01:00 +00:00
Bob Halley
5e3bbdb349
Improve comments on NXT finding.
1999-08-26 17:56:12 +00:00
Bob Halley
549b6394e0
NXDOMAIN NXT support
1999-08-26 07:14:06 +00:00
Bob Halley
9c99607514
secure zone status; return NXT if NXRRSET
1999-08-19 20:45:49 +00:00
Bob Halley
77a3409a66
addrdataset was overriding the merge flag
1999-08-19 17:50:29 +00:00
Bob Halley
599f858e51
add wildcard support
1999-08-12 07:49:58 +00:00
Bob Halley
b7a1d692a1
findnode() result code was still wrong.
1999-08-11 22:08:44 +00:00
Bob Halley
176f7a135e
findnode() had design legacies from an older version of the RBT API. It
...
also failed to handle the case where it had discovered that a node didn't
exist, had unlocked and relocked the tree (into write mode), and then had
attempted to add the node and got DNS_R_EXISTS as the result. (I.e. someone
beat us in the race to create the node.) In this case, an error would have
been returned. The correct behavior is to succeed (being sure to increment
the node reference count).
1999-08-11 22:06:21 +00:00
Bob Halley
7d44d8aacd
add beginload and endload support
1999-07-30 23:32:19 +00:00
Bob Halley
1c724c986d
add rdataset cloning
1999-07-13 01:50:22 +00:00
Bob Halley
c6ed713695
rdataset disassociate now returns void
1999-07-03 20:58:58 +00:00
Andreas Gustafsson
87c5f9ae6e
subtractrdataset() failed to initialize subresult to NULL
1999-06-30 13:22:44 +00:00
Bob Halley
c95819d75d
If the first record in a header chain was marked IGNORE, add() would
...
incorrectly treat it as if the IGNORE attribute were not set, and the add
would not work correctly. Rdatasets marked IGNORE are now ignored.
subtractrdataset() also failed to ignore rdatasets, and didn't cover the
case where the rdataset was marked as nonexistent.
1999-06-23 19:18:51 +00:00
Bob Halley
109b0ba17f
fix typo
1999-06-18 23:18:50 +00:00