mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-25 08:07:12 -04:00
Add checkconf check to ensure that the used key-store in the keys section exists. Error if that is not the case. We also don't allow the special keyword 'key-directory' as that is internally used to signal that the zone's key-directory should be used.
19 lines
605 B
Text
19 lines
605 B
Text
/*
|
|
* Copyright (C) Internet Systems Consortium, Inc. ("ISC")
|
|
*
|
|
* SPDX-License-Identifier: MPL-2.0
|
|
*
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, you can obtain one at https://mozilla.org/MPL/2.0/.
|
|
*
|
|
* See the COPYRIGHT file distributed with this work for additional
|
|
* information regarding copyright ownership.
|
|
*/
|
|
|
|
// Bad dnssec-policy configuration because there is no key-store with this name.
|
|
dnssec-policy "bad" {
|
|
keys {
|
|
csk key-store "ks404" lifetime unlimited algorithm 13;
|
|
};
|
|
};
|