Home | History | Annotate | Line # | Download | only in ns1
      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.1;
     16 	notify-source 10.53.0.1;
     17 	transfer-source 10.53.0.1;
     18 	port @PORT@;
     19 	session-keyfile "session.key";
     20 	pid-file "named.pid";
     21 	listen-on { 10.53.0.1; };
     22 	listen-on-v6 { none; };
     23 	recursion no;
     24 	dnssec-validation no;
     25 	querylog yes;
     26 };
     27 
     28 key rndc_key {
     29 	secret "1234abcd8765";
     30 	algorithm @DEFAULT_HMAC@;
     31 };
     32 
     33 controls {
     34 	inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
     35 };
     36 
     37 zone "." {
     38 	type primary;
     39 	file "root.db";
     40 };
     41 
     42 zone "test.example.org" {
     43 	type primary;
     44 	file "example.db";
     45 };
     46 
     47 zone "l0" {
     48 	type primary;
     49 	file "db.l0";
     50 };
     51 
     52 zone "l1.l0" {
     53 	type primary;
     54 	file "db.l1.l0";
     55 };
     56 
     57 zone "l2.l1.l0" {
     58 	type primary;
     59 	file "does-not-exist";
     60 };
     61 
     62 zone "test1.example.net" {
     63 	type primary;
     64 	file "test1.example.net.db";
     65 };
     66 
     67 zone "test2.example.net" {
     68 	type primary;
     69 	file "test2.example.net.db";
     70 };
     71 
     72 zone "example.com" {
     73 	type primary;
     74 	file "example.com.db";
     75 };
     76