1/* 2 * Copyright (C) Internet Systems Consortium, Inc. ("ISC") 3 * 4 * This Source Code Form is subject to the terms of the Mozilla Public 5 * License, v. 2.0. If a copy of the MPL was not distributed with this 6 * file, You can obtain one at http://mozilla.org/MPL/2.0/. 7 * 8 * See the COPYRIGHT file distributed with this work for additional 9 * information regarding copyright ownership. 10 */ 11 12options { 13 query-source address 10.53.0.2; 14 notify-source 10.53.0.2; 15 transfer-source 10.53.0.2; 16 port @PORT@; 17 pid-file "named.pid"; 18 listen-on { 10.53.0.2; }; 19 listen-on-v6 { none; }; 20 recursion no; 21 notify yes; 22 startup-notify-rate 5; 23}; 24 25key rndc_key { 26 secret "1234abcd8765"; 27 algorithm hmac-sha256; 28}; 29 30controls { 31 inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; }; 32}; 33 34zone "." { 35 type hint; 36 file "../../common/root.hint"; 37}; 38 39zone "example" { 40 type primary; 41 file "example.db"; 42 // Check that named can handle a empty also-notify. 43 also-notify { /* empty */ }; 44}; 45 46# use both 'primaries' and 'masters' to test that they 47# can work correctly together. 48primaries noport { 10.53.0.4; }; 49masters x21 port @EXTRAPORT1@ { noport; }; 50 51zone x1 { 52 type primary; 53 file "generic.db"; 54 also-notify { 10.53.0.3; }; 55 notify primary-only; 56}; 57zone x2 { 58 type primary; 59 file "generic.db"; 60 also-notify { 10.53.0.3; }; 61 notify master-only; # test old syntax 62}; 63 64zone x3 { type primary; file "generic.db"; also-notify { 10.53.0.3; }; }; 65zone x4 { type primary; file "generic.db"; also-notify { 10.53.0.3; }; }; 66zone x5 { type primary; file "generic.db"; also-notify { 10.53.0.3; }; }; 67zone x6 { type primary; file "generic.db"; also-notify { 10.53.0.3; }; }; 68zone x7 { type primary; file "generic.db"; also-notify { 10.53.0.3; }; }; 69zone x8 { type primary; file "generic.db"; also-notify { 10.53.0.3; }; }; 70zone x9 { type primary; file "generic.db"; also-notify { 10.53.0.3; }; }; 71zone x10 { type primary; file "generic.db"; also-notify { 10.53.0.3; }; }; 72zone x11 { type primary; file "generic.db"; also-notify { 10.53.0.3; }; }; 73zone x12 { type primary; file "generic.db"; also-notify { 10.53.0.3; }; }; 74zone x13 { type primary; file "generic.db"; also-notify { 10.53.0.3; }; }; 75zone x14 { type primary; file "generic.db"; also-notify { 10.53.0.3; }; }; 76zone x15 { type primary; file "generic.db"; also-notify { 10.53.0.3; }; }; 77zone x16 { type primary; file "generic.db"; also-notify { 10.53.0.3; }; }; 78zone x17 { type primary; file "generic.db"; also-notify { 10.53.0.3; }; }; 79zone x18 { type primary; file "generic.db"; also-notify { 10.53.0.3; }; }; 80zone x19 { type primary; file "generic.db"; also-notify { 10.53.0.3; }; }; 81zone x20 { type primary; file "generic.db"; also-notify { 10.53.0.3; }; }; 82zone x21 { type primary; file "x21.db"; allow-update { any; }; also-notify { x21; }; }; 83