mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-01 06:55:30 +00:00
checkconf tests for inline-signing at options/view
This commit is contained in:
committed by
Mark Andrews
parent
03978a7881
commit
a548a450b3
22
bin/tests/system/checkconf/bad-inline-options.conf
Normal file
22
bin/tests/system/checkconf/bad-inline-options.conf
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) Internet Systems Consortium, Inc. ("ISC")
|
||||||
|
*
|
||||||
|
* 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 http://mozilla.org/MPL/2.0/.
|
||||||
|
*
|
||||||
|
* See the COPYRIGHT file distributed with this work for additional
|
||||||
|
* information regarding copyright ownership.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* inline-signing not allowed at options level.
|
||||||
|
*/
|
||||||
|
options {
|
||||||
|
inline-signing yes;
|
||||||
|
};
|
||||||
|
|
||||||
|
zone "." {
|
||||||
|
type primary;
|
||||||
|
file "root.db";
|
||||||
|
};
|
29
bin/tests/system/checkconf/bad-inline-view.conf
Normal file
29
bin/tests/system/checkconf/bad-inline-view.conf
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) Internet Systems Consortium, Inc. ("ISC")
|
||||||
|
*
|
||||||
|
* 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 http://mozilla.org/MPL/2.0/.
|
||||||
|
*
|
||||||
|
* See the COPYRIGHT file distributed with this work for additional
|
||||||
|
* information regarding copyright ownership.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* inline-signing not allowed at view level.
|
||||||
|
*/
|
||||||
|
view "a" {
|
||||||
|
inline-signing yes;
|
||||||
|
|
||||||
|
zone "." {
|
||||||
|
type primary;
|
||||||
|
file "root.db.signed";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
view "b" {
|
||||||
|
zone "." {
|
||||||
|
type primary;
|
||||||
|
file "root.db";
|
||||||
|
};
|
||||||
|
};
|
Reference in New Issue
Block a user