All these setup files only use copy_setports function which can be done with jinja2 templates instead -- simply by renaming the .in files to .j2, without any other changes. The pytest runner will render these templates during test setup without any need for an additional script.
38 lines
865 B
Django/Jinja
38 lines
865 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 {
|
|
query-source address 10.53.0.7;
|
|
notify-source 10.53.0.7;
|
|
transfer-source 10.53.0.7;
|
|
port @PORT@;
|
|
pid-file "named.pid";
|
|
listen-on { 10.53.0.7; };
|
|
listen-on-v6 { none; };
|
|
recursion no;
|
|
answer-cookie no;
|
|
send-cookie yes;
|
|
nocookie-udp-size 512;
|
|
dnssec-validation no;
|
|
};
|
|
|
|
zone "." {
|
|
type primary;
|
|
file "root.db";
|
|
};
|
|
|
|
zone "from-no-cookie-server.example" {
|
|
type primary;
|
|
file "from-no-cookie-server.example.db";
|
|
};
|