mirror of
https://github.com/isc-projects/bind9.git
synced 2026-03-13 06:02:37 -04:00
Having zone statements that are also top blocks is confusing, and if we want to add more in the future (which I suspect will be for generalized notifications, multi-signer), we need to duplicate a lot of code. Remove top blocks 'parental-agents' and 'primaries' and just have one top block 'remote-servers' that you can refer to with zone statements.
27 lines
813 B
Text
27 lines
813 B
Text
/*
|
|
* 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.
|
|
*/
|
|
|
|
acl "transferees" {};
|
|
remote-servers "stealthPrimaries" {127.0.0.1;};
|
|
remote-servers "publicSecondaries" {127.0.0.1;};
|
|
zone "example.net" {
|
|
type secondary;
|
|
key-directory "/var/lib/bind/example.net";
|
|
dnssec-policy default;
|
|
inline-signing no;
|
|
primaries { stealthPrimaries; };
|
|
notify explicit;
|
|
also-notify { publicSecondaries; };
|
|
allow-transfer { localhost; transferees; };
|
|
};
|
|
|