construct a symtab of valid in-view targets then check that the target exists

This commit is contained in:
Mark Andrews
2018-05-25 13:15:00 +10:00
committed by Evan Hunt
parent ddc9a8be97
commit e01a4bcb20
2 changed files with 138 additions and 36 deletions

View 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";
};
};