Home | History | Annotate | Line # | Download | only in ns2
named.conf.j2 revision 1.1
      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 	port @PORT@;
     16 	pid-file "named.pid";
     17 	listen-on { 10.53.0.2; };
     18 	listen-on-v6 { none; };
     19 	allow-query { any; };
     20 	recursion no;
     21 	allow-new-zones yes;
     22 	dnssec-validation no;
     23 };
     24 
     25 include "../../_common/rndc.key";
     26 
     27 controls {
     28 	inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
     29 };
     30 
     31 zone "." {
     32 	type hint;
     33 	file "../../_common/root.hint";
     34 };
     35 
     36 zone "normal.example" {
     37 	type primary;
     38 	file "normal.db";
     39 };
     40 
     41 zone "finaldot.example." {
     42 	type primary;
     43 	file "normal.db";
     44 };
     45