- 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:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user