]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
add test configuration where a in-view zone collides with a existing zone
authorMark Andrews <marka@isc.org>
Mon, 5 Mar 2018 00:51:48 +0000 (11:51 +1100)
committerMark Andrews <marka@isc.org>
Thu, 8 Mar 2018 00:50:09 +0000 (11:50 +1100)
bin/tests/system/checkconf/bad-in-view-dup.conf [new file with mode: 0644]

diff --git a/bin/tests/system/checkconf/bad-in-view-dup.conf b/bin/tests/system/checkconf/bad-in-view-dup.conf
new file mode 100644 (file)
index 0000000..dfde124
--- /dev/null
@@ -0,0 +1,19 @@
+/*
+ * 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 a {
+       zone x { type master; file "x"; };
+};
+
+view b {
+       zone x { type master; file "x"; };
+       zone x { in-view a; };
+};