mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-19 09:48:53 -04:00
These setup.sh scripts only do templating and copying files. Both of these can be replaced with either jinja templates, or using plain files. Since each test invocation creates its own temporary directory, copying files to ensure a "clean" state is no longer necessary. In cases where named writes some content to the files, a jinja template can be used instead of a plain file to avoid an artifact check which would detect a change to a git-tracked file.
30 lines
802 B
Django/Jinja
30 lines
802 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.
|
|
|
|
$ORIGIN .
|
|
$TTL 300 ; 5 minutes
|
|
example IN SOA mname1. . (
|
|
1 ; serial
|
|
20 ; refresh (20 seconds)
|
|
20 ; retry (20 seconds)
|
|
1814400 ; expire (3 weeks)
|
|
3600 ; minimum (1 hour)
|
|
)
|
|
example. NS ns2.example.
|
|
ns2.example. A 10.53.0.2
|
|
|
|
$ORIGIN example.
|
|
a A 10.0.0.1
|
|
a A 10.0.0.3
|
|
a A 10.0.0.5
|
|
MX 10 mail.example.
|
|
|
|
mail A 10.0.0.2
|