Mark Andrews
bcff319811
Wildcard NS records are not conceptually allowed by RFC 103[45].
2000-06-09 06:03:47 +00:00
Mark Andrews
a6733246ea
240. [func] databases now come in three flavours: zone, cache
...
and stub.
2000-06-07 02:38:41 +00:00
Andreas Gustafsson
ac940fef1b
[RT #115 ] find_closest_nxt() tried to concatenate . with .
...
when the closest NXT was owned by the root domain
2000-05-19 21:27:14 +00:00
David Lawrence
29aa703dd6
Fixed IRIX warnings:
...
"rbtdb.c", line 1579: remark(1552): parameter "now" was set but never used
"rbtdb.c", line 2888: remark(1552): parameter "version" was set but never used
by using UNUSED() rather than setting variables to unused values.
2000-05-13 20:42:59 +00:00
David Lawrence
1a69a1a78c
Megacommit of dozens of files.
...
Cleanup of redundant/useless header file inclusion.
ISC style lint, primarily for function declarations and standalone
comments -- ie, those that appear on a line without any code, which
should be written as follows:
/*
* This is a comment.
*/
2000-05-08 14:38:29 +00:00
David Lawrence
09f22ac5b0
Redundant header work, mostly removing <dns/result.h> from installed
...
headers and adding it to source files that need it.
2000-05-02 03:54:17 +00:00
Andreas Gustafsson
82ca33427b
declare arguments as UNUSED() when used in assertions only
2000-04-28 01:24:18 +00:00
Michael Graff
1911100e64
add comments about 'RETAIN'
2000-04-27 01:47:38 +00:00
Bob Halley
684ac09e11
add noexact matching option; conform to RBT API changes
2000-04-19 18:22:39 +00:00
Bob Halley
a0f9edd9a4
attach to memory context
2000-04-12 01:35:59 +00:00
Michael Graff
4195904998
s/DNS_R_/ISC_R_/ change for some codes.
2000-04-06 22:03:35 +00:00
Bob Halley
3e26dd4d1f
In free_rbtdb(), only try to put the current version if it has been allocated.
...
Replace old origin name duplication code with calls to
dns_name_dupwithoffsets() and dns_name_free().
2000-03-30 00:59:24 +00:00
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