- Hold list of pubkeys instead of a single pubkey in zones.

- Change dns_zone_copy to use pubkey list.
- MAGIC-number related fixes and miscellaneous defensive programing issues.
This commit is contained in:
James Brister
1999-12-01 16:29:00 +00:00
parent cd36fa7eb9
commit 29bf8316a3
27 changed files with 984 additions and 494 deletions

View File

@@ -234,6 +234,8 @@ zone "stub.demo.zone" {
allow-transfer { any; };
allow-query { any; };
max-transfer-time-in 120; // if not set, global option is used.
pubkey 257 255 1 "a useless key";
pubkey 257 255 1 "another useless key";
};
zone "." {
@@ -261,6 +263,7 @@ zone "non-default-acl.demo.zone" {
1.2.3.4;
5.6.7.8;
};
pubkey 666 665 664 "key of the beast";
};
key sample_key { // for TSIG; supported by parser

View File

@@ -81,7 +81,7 @@ int main (int argc, char **argv) {
isc_mem_t *mem = NULL;
dns_c_cbks_t callbacks;
#if 0
#if 1
callbacks.zonecbk = NULL;
callbacks.zonecbkuap = NULL;
callbacks.optscbk = NULL;