Home | History | Annotate | Line # | Download | only in ns2
      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 options {
     15 	query-source address 10.53.0.2;
     16 	notify-source 10.53.0.2;
     17 	transfer-source 10.53.0.2;
     18 	port @PORT@;
     19 	pid-file "named.pid";
     20 	listen-on { 10.53.0.2; };
     21 	listen-on-v6 { none; };
     22 	notify yes;
     23 	disable-empty-zone 127.IN-ADDR.ARPA;
     24 	recursion yes;
     25 	dnssec-validation no;
     26 };
     27 
     28 
     29 key rndc_key {
     30 	secret "1234abcd8765";
     31 	algorithm @DEFAULT_HMAC@;
     32 };
     33 
     34 controls {
     35 	inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
     36 };
     37 
     38 zone "." {
     39 	type hint;
     40 	file "../../_common/root.hint";
     41 };
     42 
     43 zone "flushtest.example" {
     44 	type forward;
     45 	forwarders { 10.53.0.1; };
     46 };
     47 
     48 zone "expire-test" {
     49 	type secondary;
     50 	primaries { 10.53.0.1; };
     51 };
     52