Home | History | Annotate | Line # | Download | only in ns5
      1 /*
      2  * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
      3  *
      4  * SPDX-License-Identifier: MPL-2.0
      5  *
      6  * This Source Code Form is subject to the terms of the Mozilla Public
      7  * License, v. 2.0.  If a copy of the MPL was not distributed with this
      8  * file, you can obtain one at https://mozilla.org/MPL/2.0/.
      9  *
     10  * See the COPYRIGHT file distributed with this work for additional
     11  * information regarding copyright ownership.
     12  */
     13 
     14 key "a" {
     15 	algorithm @DEFAULT_HMAC@;
     16 	secret "aaaaaaaaaaaaaaaaaaaa";
     17 };
     18 
     19 key "b" {
     20 	algorithm @DEFAULT_HMAC@;
     21 	secret "bbbbbbbbbbbbbbbbbbbb";
     22 };
     23 
     24 key "c" {
     25 	algorithm @DEFAULT_HMAC@;
     26 	secret "cccccccccccccccccccc";
     27 };
     28 
     29 options {
     30 	query-source address 10.53.0.5;
     31 	notify-source 10.53.0.5;
     32 	transfer-source 10.53.0.5;
     33 	port @PORT@;
     34 	pid-file "named.pid";
     35 	listen-on { 10.53.0.5; };
     36 	listen-on-v6 { none; };
     37 	allow-transfer { any; };
     38 	recursion yes;
     39 	notify yes;
     40 	dnssec-validation no;
     41 };
     42 
     43 view "a" {
     44 	match-clients { key "a"; };
     45 	zone "x21" {
     46 		type primary;
     47 		also-notify { 10.53.0.5 key "b"; 10.53.0.5 key "c"; };
     48 		file "x21.db";
     49 		allow-update { any; };
     50 	};
     51 };
     52 
     53 view "b" {
     54 	match-clients { key "b"; };
     55 	zone "x21" {
     56 		type secondary;
     57 		primaries { 10.53.0.5 key "a"; };
     58 		file "x21.bk-b";
     59 		notify no;
     60 	};
     61 };
     62 
     63 view "c" {
     64 	match-clients { key "c"; };
     65 	zone "x21" {
     66 		type secondary;
     67 		primaries { 10.53.0.5 key "a"; };
     68 		file "x21.bk-c";
     69 		notify no;
     70 	};
     71 };
     72