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: recursive resolver, also authoritative for zones with a CNAME
     15 // pointing to a name outside of the zone: one static, one added at
     16 // runtime with "rndc addzone", one added at runtime as a catalog zone
     17 // member
     18 
     19 options {
     20 	{% include_indented "_common/options.conf.j2" %}
     21 	dnssec-validation no;
     22 	allow-query { any; };
     23 	allow-new-zones yes;
     24 	catalog-zones {
     25 		zone "catalog"
     26 			default-primaries { 10.53.0.1; }
     27 			min-update-interval 1s
     28 			in-memory yes;
     29 	};
     30 };
     31 
     32 {% include "_common/controls.conf.j2" %}
     33 
     34 {% include "_common/root.hint.conf" %}
     35 
     36 zone "internal" {
     37 	type primary;
     38 	file "internal.db";
     39 };
     40 
     41 zone "catalog" {
     42 	type secondary;
     43 	file "catalog.db";
     44 	primaries { 10.53.0.1; };
     45 };
     46