Home | History | Annotate | Line # | Download | only in ns1
      1 options {
      2 	{% include_indented "_common/options.conf.j2" %}
      3 	recursion no;
      4 	dnssec-validation no;
      5 };
      6 
      7 {% include "_common/controls.conf.j2" %}
      8 
      9 view "vredirect" {
     10 	match-clients { 10.53.0.1; };
     11 	zone "." {
     12 		type primary;
     13 		file "root.db";
     14 	};
     15 
     16 	zone "." {
     17 		type redirect;
     18 		file "redirect.db";
     19 		allow-query { any; };
     20 		allow-query-on { none; };
     21 	};
     22 };
     23 
     24 view "vdlz1" {
     25 	match-clients { 10.53.0.2; };
     26 	dlz other {
     27 		database "dlopen @TOP_BUILDDIR@/bin/tests/system/dlzexternal/driver/.libs/dlzexternal.so example.nil";
     28 		search yes;
     29 	};
     30 	allow-query { none; };
     31 	allow-query-on { any; }; /* Ignored, as allow-query is none anyway */
     32 	zone "." {
     33 		type primary;
     34 		file "root.db";
     35 	};
     36 };
     37 
     38 view "vdlz2" {
     39 	match-clients { 10.53.0.3; };
     40 	dlz other {
     41 		database "dlopen @TOP_BUILDDIR@/bin/tests/system/dlzexternal/driver/.libs/dlzexternal.so example.nil";
     42 		search yes;
     43 	};
     44 	allow-query { any; };
     45 	allow-query-on { 10.53.0.3; };
     46 	zone "." {
     47 		type primary;
     48 		file "root.db";
     49 	};
     50 };
     51 
     52 view "vdlz3" {
     53 	match-clients { 10.53.0.4; };
     54 	dlz other {
     55 		database "dlopen @TOP_BUILDDIR@/bin/tests/system/dlzexternal/driver/.libs/dlzexternal.so example.nil";
     56 		search yes;
     57 	};
     58 	allow-query { any; };
     59 	allow-query-on { 10.53.0.1; };
     60 	zone "." {
     61 		type primary;
     62 		file "root.db";
     63 	};
     64 };
     65