mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-29 18:09:11 -04:00
this changes most visble uses of master/slave terminology in tests.sh
and most uses of 'type master' or 'type slave' in named.conf files.
files in the checkconf test were not updated in order to confirm that
the old syntax still works. rpzrecurse was also left mostly unchanged
to avoid interference with DNSRPS.
(cherry picked from commit e43b3c1fa1)
61 lines
1.1 KiB
Text
61 lines
1.1 KiB
Text
/*
|
|
* Copyright (C) Internet Systems Consortium, Inc. ("ISC")
|
|
*
|
|
* 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 http://mozilla.org/MPL/2.0/.
|
|
*
|
|
* See the COPYRIGHT file distributed with this work for additional
|
|
* information regarding copyright ownership.
|
|
*/
|
|
|
|
// NS2
|
|
|
|
options {
|
|
pid-file "named.pid";
|
|
listen-on port @PORT@ { 10.53.0.2; };
|
|
listen-on-v6 { none; };
|
|
port @PORT@;
|
|
recursion no;
|
|
notify no;
|
|
servfail-ttl 0;
|
|
};
|
|
|
|
zone "example" {
|
|
type primary;
|
|
file "example.db";
|
|
};
|
|
|
|
zone "transfer1" {
|
|
type secondary;
|
|
primaries { 10.53.0.1; };
|
|
file "transfer.db.raw";
|
|
};
|
|
|
|
zone "transfer2" {
|
|
type secondary;
|
|
primaries { 10.53.0.1; };
|
|
masterfile-format text;
|
|
file "transfer.db.txt";
|
|
};
|
|
|
|
zone "transfer3" {
|
|
type secondary;
|
|
primaries { 10.53.0.1; };
|
|
file "formerly-text.db";
|
|
};
|
|
|
|
zone "transfer4" {
|
|
type secondary;
|
|
primaries { 10.53.0.1; };
|
|
masterfile-format text;
|
|
masterfile-style full;
|
|
file "transfer.db.full";
|
|
};
|
|
|
|
zone "large" {
|
|
type secondary;
|
|
primaries { 10.53.0.1; };
|
|
masterfile-format raw;
|
|
file "large.bk";
|
|
};
|