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
Mark Andrews
6f44af1c83
dns_view_create(): 'name' to (const char *) instead of (char *)
1999-10-14 06:00:55 +00:00
Mark Andrews
0b16ae54f7
add dns_view_findzone() declaration.
1999-10-14 05:06:01 +00:00
Mark Andrews
9feed601eb
REQUIRE() testing wrong variable, (viewptr != NULL) not (view != NULL).
1999-10-14 05:02:42 +00:00
Mark Andrews
92450223ca
missing variable, result could be used before being set.
1999-10-14 04:20:20 +00:00
Mark Andrews
fd5fff738d
dns_zone_getdb nor returns DNS_R_NOTLOADED
1999-10-14 03:14:15 +00:00
Mark Andrews
2d06b00514
dns_zone_getdb now return DNS_R_NOTLOADED
1999-10-14 03:12:50 +00:00
Andreas Gustafsson
e117f2e80e
use the new DNS_R_NOTLOADED result code
1999-10-14 02:24:17 +00:00
Andreas Gustafsson
e5805c0a75
dns_getname_origin now returns (dns_name_t *) again
1999-10-14 02:12:03 +00:00
Andreas Gustafsson
e112f5a7ab
uninitialized variable
1999-10-14 02:07:10 +00:00
Andreas Gustafsson
ac83c71498
undo part of previous change: don't construct reply message twice
1999-10-14 02:05:07 +00:00
Bob Halley
d60f5b9bc8
Zone support
1999-10-14 01:37:00 +00:00
Mark Andrews
659175b7d4
Add DNS_R_NOTLOADED.
1999-10-14 01:24:08 +00:00
David Lawrence
7c6ed85281
level_matches and level_count will not be negative.
1999-10-14 01:03:02 +00:00
Michael Graff
6d14fe95e9
snapshot: dns_adb_done() partial implementation, handles mostly work, but
...
no fetches are started yet.
1999-10-14 00:50:00 +00:00
Mark Andrews
f182ffaba7
dns_getname_origin nor returns (dns_name_t *) again.
1999-10-14 00:47:01 +00:00
Andreas Gustafsson
e2b0388d7c
zonedb->zonetable; per-zone journal file names
1999-10-14 00:06:11 +00:00
Andreas Gustafsson
9d34fb7826
replaced xfrin_test() by ns_xfrin_start(); zonedb->zonetable
1999-10-14 00:05:02 +00:00
Andreas Gustafsson
581db30788
zonedb->zonetable; queueing of concurrent updates
1999-10-14 00:03:04 +00:00
Andreas Gustafsson
4dbbfeda13
replaced xfrin_test() by ns_xfrin_start()
1999-10-14 00:00:59 +00:00
Mark Andrews
39073e9734
convert to use ISC_MAGIC_VALID, VALID_ZONE now DNS_ZONE_VALID.
...
zone->origin now dns_name_t not dns_fixedname_t.
zone->diff_on_reload added.
acls are now freed when zone is freed.
Additional locking performed.
dns_rdataset_disassociate is only called if we find a rdataset.
dns_db_load() now calls db_zone_replacedb().
dns_zone_callback() fleshed out.
dns_zone_equal() to check configuration details.
dns_zone_replacedb() added.
1999-10-13 23:32:02 +00:00
Mark Andrews
c30970926d
refering to a non-existant acl causes segfault.
1999-10-13 23:19:45 +00:00
Mark Andrews
c627721fed
dbtable -> zonetable conversion.
...
delete dns_view_addzonedb().
add dns_view_addzone().
add dns_view_findzone().
add dns_view_findinlist().
1999-10-13 23:17:32 +00:00
Mark Andrews
6ef838d427
add zt to build
...
add new target "newrr" to be run when new RR's are added to rdata. It
removes the .h files built from rdata.
1999-10-13 23:12:11 +00:00