Commit Graph

1364 Commits

Author SHA1 Message Date
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
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
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
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
9d34fb7826 replaced xfrin_test() by ns_xfrin_start(); zonedb->zonetable 1999-10-14 00:05:02 +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
Michael Graff
e4b9761b0e fix mismatched parans 1999-10-13 22:52:42 +00:00
Mark Andrews
af16f35cf9 dns_rbtnodechain_first() no longer requires name and origin
to be passed.
	dns_rbtnodechain_next() no longer fails if name is not passed.
1999-10-13 22:50:39 +00:00
Mark Andrews
e26a96b245 add DNS_R_UPTODATE check to roll_forward(). 1999-10-13 22:47:12 +00:00
Mark Andrews
000027219d add dns_name_dynamic(). 1999-10-13 22:45:17 +00:00
Mark Andrews
448de38fe4 add dns_c_ipmatchelement_equal().
add dns_c_ipmatchlist_equal().
	add dns_c_iplist_equal().
1999-10-13 22:24:18 +00:00
Mark Andrews
309fb45354 add dns_c_pubkey_equal(). 1999-10-13 22:21:58 +00:00
Mark Andrews
3c962bd6d2 add dns_c_iplist_equal() declaration.
add dns_c_ipmatchelement_equal() declaration.
	add dns_c_ipmatchlist_equal() declaration.
1999-10-13 22:18:49 +00:00
Mark Andrews
789df40199 add dns_c_pubkey_equal() declaration. 1999-10-13 22:17:22 +00:00
Mark Andrews
a0eb07c71a Add dns_journal_print() declaration (debugging use only at this stage). 1999-10-13 22:16:31 +00:00
Mark Andrews
263a376eaa Add dns_name_dynamic() declaration. 1999-10-13 22:15:15 +00:00
Mark Andrews
259ce22ab3 add dns_zone_callbackarg_t typedef
add dns_zt_t typedef
1999-10-13 22:13:55 +00:00
Mark Andrews
800b03baba dbtable -> zonetable conversion.
add dns_view_addzone() declaration.
	remove dns_view_addzonedb() declaration.
	add dns_view_findinlist() declaration.
1999-10-13 22:12:24 +00:00
Mark Andrews
66912d1625 add dns_zone_callbackarg structure.
add dns_zone_getorigin() declaration.
	update dns_zone_getdb() declaration.
	add dns_zone_notify() declaration.
	add dns_zone_replacedb() declaration.
1999-10-13 22:09:09 +00:00
Mark Andrews
b0526987ae add declaration for dns_zt_load()
add function descriptions and contract details.
1999-10-13 22:04:18 +00:00
Bob Halley
2edd9e49c7 Fix race problems in mount and find.
Convert to rwlocks.
Misc. cleanups.
1999-10-13 18:48:32 +00:00
Bob Halley
4a80a00550 Latest from ~marka/bind9. 1999-10-13 18:19:56 +00:00
Andreas Gustafsson
8a7276e6ef added event types DNS_EVENT_UPDATE and DNS_EVENT_UPDATEDONE for
use by dynamic update queueing
1999-10-13 18:11:19 +00:00
James Brister
66713b72dc Added a dns_c_view_t to dns_zone_callback paramater list. 1999-10-13 18:00:46 +00:00
James Brister
9a6479b068 Added dns_c_view_getname. 1999-10-13 18:00:17 +00:00
James Brister
a7eb7752a7 Include the zone's view (or NULL) in the zone_callback paramater list. 1999-10-13 17:59:45 +00:00
James Brister
0a3e4adbbc Don't bump reference count when putting a zone in a zonelist. 1999-10-13 17:58:36 +00:00
James Brister
62d223097f Added dns_c_view_getname and fixed up output. 1999-10-13 17:57:01 +00:00
James Brister
d7d543b0ce Use isc_log_t for low-level complaints. 1999-10-13 17:55:47 +00:00
James Brister
792d41ce3f Include viewtable in generated config files. 1999-10-13 17:54:27 +00:00
James Brister
f9b4801c8f Change signature to zone_callback and have the callback pretend to
have done something useful.
1999-10-13 17:53:15 +00:00
Bob Halley
0340a9c05a checkpoint 1999-10-13 02:08:30 +00:00
Mark Andrews
db725ebe2b Add initial class HS support. 1999-10-13 01:24:49 +00:00
Bob Halley
01b523fe60 checkpoint: basic referrals 1999-10-12 20:39:35 +00:00
Bob Halley
2621e791c3 add NCACHE attribute 1999-10-12 20:39:04 +00:00
Bob Halley
fff9a37a03 Cloning a name shouldn't copy the dynamic or
readonly attributes.
1999-10-12 20:38:30 +00:00
David Lawrence
fe7ce2204b set level_matches when both an exact match and no match at all is found,
not just for partial matches, for consistency.

set level_matches even when not forming foundname, since level_matches
is an aspect of the chain, not of whether the caller wanted the
name formed by dns_rbt_findnode().

comment updates.
1999-10-12 14:19:47 +00:00