bind9/bin/tests/system/allow-query/ns2/named.conf.j2
Nicki Křížek 8dde4093aa Replace .in with .j2 templates for cases with namedX.conf
The following tests use multiple named configs. Previously, these have
been rendered with copy_setports in tests.sh when needed. Transform
these into jinja2 templates and render them during setup. In the tests,
the copy_setports invocations can be then replaced with a simple cp.

(cherry picked from commit 9d3279a542)
2025-12-10 13:43:52 +01:00

33 lines
719 B
Django/Jinja

/*
* 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.
*/
options {
port @PORT@;
pid-file "named.pid";
listen-on { 10.53.0.2; };
listen-on-v6 { none; };
recursion no;
dnssec-validation no;
};
include "controls.conf";
zone "." {
type hint;
file "../../_common/root.hint";
};
zone "normal.example" {
type primary;
file "generic.db";
};