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 // NS2
     15 
     16 include "trusted.conf";
     17 
     18 options {
     19 	query-source address 10.53.0.2;
     20 	notify-source 10.53.0.2;
     21 	transfer-source 10.53.0.2;
     22 	port @PORT@;
     23 	pid-file "named.pid";
     24 	listen-on { 10.53.0.2; };
     25 	listen-on-v6 { none; };
     26 	recursion no;
     27 	notify yes;
     28 	dnssec-validation yes;
     29 };
     30 
     31 zone "." {
     32 	type hint;
     33 	file "../../_common/root.hint";
     34 };
     35 
     36 zone "example" {
     37 	type primary;
     38 	file "example.db.signed";
     39 };
     40 
     41 zone "example.com" {
     42 	type primary;
     43 	file "example.com.db.signed";
     44 	allow-update { 10.53.0.0/16; };
     45 };
     46 
     47 zone "good" {
     48 	type primary;
     49 	file "forgery.db";
     50 	allow-query { any; };
     51 };
     52