Commit graph

2004 commits

Author SHA1 Message Date
Bob Halley
fcddaadc8e CNAME support in positive answers. 1999-10-17 19:21:43 +00:00
Bob Halley
c144a41078 CNAME signature finding could fail in cache_find(). 1999-10-17 19:21:02 +00:00
Bob Halley
2f6040ed67 Store CNAMEs and their SIGs (if any) in their own name structure on the
name list.  I.e. do not mix CNAMEs with non-CNAME data.  Do the same thing
for DNAMEs.
1999-10-17 19:20:20 +00:00
Bob Halley
238c9f5aaa qtype was not restored correctly after recursion. 1999-10-16 20:50:33 +00:00
David Lawrence
5d5ea8cf11 more descriptive "nuking" message 1999-10-16 20:35:19 +00:00
David Lawrence
92712379fc Updated documentation for chains, level_matches and level_count.
Updated documentation for dns_rbt_findnode to describe more what
happens with various return values, and that the chain points to the
DNSSEC predecessor for all non-error returns.

New documentation for dns_rbtnodechain_{prev,next}.

Updated documentation for other dns_rbtnodechain_*.
1999-10-16 20:34:52 +00:00
Bob Halley
692cae8634 The authority section wasn't being marked for caching. 1999-10-16 20:34:04 +00:00
David Lawrence
401fc772b1 Major:
deletion bug fixed that could orphan a large section of the tree.  the
  "parent" argument to rotate_left or rotate_right was sometimes not
  really the parent of the rotation vertex, because the parent's parent
  was not correctly reidentified after a rotation done on the parent.

Minor:
  forward static declaration of dns_rbt_printnodename, useful in debugging.

  level_matches set correctly for exact match in dns_rbt_findnode (it was
  one too few, but this was minor because as yet level_matches is only
  used by other code when a partial match was made.

  insist 'node' is a child of 'parent' in rotate_left and rotate_right

  compare a pointer explicitly to NULL that was just "if (pointer)"

  "would would" in a comment changed to just one "would".
1999-10-16 19:44:54 +00:00
James Brister
80bd254851 Updated use of magic numbers. 1999-10-16 01:34:30 +00:00
Bob Halley
a2250d2462 Negative caching support. 1999-10-16 01:04:12 +00:00
Bob Halley
3d7de79355 clear trust 1999-10-16 00:49:53 +00:00
Bob Halley
1aaa8e40df Add support for negative cache entries to add(). 1999-10-16 00:49:33 +00:00
Bob Halley
3706171484 Partially working negative caching. 1999-10-16 00:48:34 +00:00
Bob Halley
66b2f0d4bf Test name attributes with DNS_NAMEATTR_NCACHE, not DNS_RDATASETATTR_NCACHE.
Store the 'used' region, not the 'available' region!
Set trust.
1999-10-16 00:47:54 +00:00
Bob Halley
980dc59626 Do not try to dump negative cache entries. 1999-10-16 00:45:59 +00:00
Michael Graff
86944a4c80 snapshot; everything works other than fetches and database lookups. 1999-10-16 00:38:21 +00:00
Michael Graff
baf8179150 use DNS_EVENT_ADBNAMEDELETED to indicate a name was pulled out from under a request. 1999-10-16 00:37:55 +00:00
William King
14500999f2 remove NOKEY flag 1999-10-15 21:23:51 +00:00
William King
0fb72a41e5 test 7 data 1999-10-15 21:21:39 +00:00
William King
3adfe0fdbc added another KEY RR case 1999-10-15 21:20:27 +00:00
Bob Halley
ad6a3ba5ef Start ncache support 1999-10-15 20:51:38 +00:00
Bob Halley
9ad0ebf65e Start dealing with the DNS_R_UNCHANGED case when adding rdatasets. 1999-10-15 20:51:19 +00:00
Bob Halley
e0df061f35 only ncache marked names and rdatasets 1999-10-15 20:50:19 +00:00
Bob Halley
cd02757774 add negative caching result codes 1999-10-15 20:49:33 +00:00
Bob Halley
6bd80c2c4e Ignore negative cache entries in ANY query responses. 1999-10-15 20:48:34 +00:00
Andreas Gustafsson
9733108152 print descriptive warning messages when bad zone detected;
dns_zone_load did not always return ISC_R_SUCCESS when it succeeded.
1999-10-15 19:47:31 +00:00
William King
12fc008a63 KEY RR test data 1999-10-15 19:27:46 +00:00
William King
35e7b00e01 added KEY RR test 1999-10-15 19:25:40 +00:00
James Brister
59c6f0e26b If logging context is NULL in isc_log_vwrite(), then bail before
doing any REQUIREs that require it being non-NULL.
1999-10-15 19:04:38 +00:00
William King
e518a08aa3 fixed octal bitlabel usage problem 1999-10-15 17:08:02 +00:00
William King
be9258d15b fixed exceptions 1999-10-15 17:07:21 +00:00
Bob Halley
66a6c17757 When using the hints database, 'db' was not reset from the cache to the
hints database.  Later on we'd try to detach a node from the hints database
using the cache database, and this would trigger an assertion.
1999-10-15 06:49:58 +00:00
Bob Halley
9358d9cb3c do not build zone2_test 1999-10-15 01:55:05 +00:00
Bob Halley
209235102a add zone2_test 1999-10-15 01:52:39 +00:00
Bob Halley
016326d111 overhaul loading; get rid of old load scheme 1999-10-15 01:51:48 +00:00
Bob Halley
d057803db4 delete ns_g_dbs and ns_g_confctxlock; init ns_g_conffile 1999-10-15 01:51:08 +00:00
Bob Halley
067a6ca8b4 eliminate confctx lock 1999-10-15 01:49:46 +00:00
Bob Halley
ba88ba8a3f eliminate temporary zone/cache loading scheme 1999-10-15 01:48:29 +00:00
Bob Halley
e7dbdb2547 cleanups; change viewlist find routine 1999-10-15 01:43:39 +00:00
Bob Halley
df0453520c checkpoint 1999-10-15 01:43:04 +00:00
Bob Halley
157a75e25a Eliminate zone callback.
Export dns_zone_equal.
Do not try to set slave options (like transfer_source)
on a master zone.
Turn off some printing.
Add a warning about dns_zone_tostr().
1999-10-15 01:39:31 +00:00
Bob Halley
f92876cfed eliminate zone callback; export dns_zone_equal() 1999-10-15 01:36:41 +00:00
Bob Halley
3b9b3c21a7 add/renumber some attributes 1999-10-15 01:36:09 +00:00
Bob Halley
a6aa36b513 make findnode work on a completely empty tree 1999-10-15 01:35:23 +00:00
David Lawrence
cd1169c09a Do not try to set level_count and level_matches to negative values.
dns_rbtnodechain_last no longer requires name and origin parameters
to be non-null.
1999-10-14 20:19:54 +00:00
Andreas Gustafsson
30805ef951 undo previous change: both issues were already addressed 1999-10-14 19:55:34 +00:00
Brian Wellington
77744ef575 Added tkey.h, which provides prototypes for the functions in the not-yet
added tkey.c.  tkey.c needs some config help before it can be added.
1999-10-14 18:38:59 +00:00
Brian Wellington
1a2c699f0e - suppress duplicate keys
- allow finding a key by name only (instead of name and algorithm)
- add creator field, which is filled in by TKEY
1999-10-14 18:35:25 +00:00
Brian Wellington
3efd14644c Allow private keys to be read if public keys are not present. This isn't
too useful for anything other than HMAC-MD5 shared keys, since the key's
flags and protocol are stored in the public file.

Also some miscellaneous cleanup.
1999-10-14 18:32:49 +00:00
Mark Andrews
df7899248f dns_zone_callback: viewname should be (const char *) 1999-10-14 06:10:35 +00:00