construct a symtab of valid in-view targets then check that the target exists
This commit is contained in:
23
bin/tests/system/checkconf/bad-sharedzone3.conf
Normal file
23
bin/tests/system/checkconf/bad-sharedzone3.conf
Normal file
@@ -0,0 +1,23 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
view first {
|
||||
zone shared.example {
|
||||
in-view second;
|
||||
};
|
||||
};
|
||||
|
||||
view second {
|
||||
zone shared.example {
|
||||
type master;
|
||||
file "shared.example.db";
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user