mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-10 18:59:59 -04:00
Render the bad-tsig.db file using jinja2 template to get rid of copy_setports. Since the zone is using @ character, use the raw directive to avoid interpreting it as a variable start.
19 lines
563 B
Bash
19 lines
563 B
Bash
#!/bin/sh
|
|
|
|
# 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.
|
|
|
|
. ../conf.sh
|
|
|
|
ln -s $CHECKZONE named-compilezone
|
|
|
|
./named-compilezone -D -F raw -o good1.db.raw example \
|
|
zones/good1.db >/dev/null 2>&1
|