Home | History | Annotate | Line # | Download | only in ns2
      1 options {
      2 	directory ".";
      3 	query-source address 10.53.0.2;
      4 	notify-source 10.53.0.2;
      5 	transfer-source 10.53.0.2;
      6 	port @PORT@;
      7 	pid-file "named.pid";
      8 	listen-on { 10.53.0.2; };
      9 	listen-on-v6 { none; };
     10 };
     11 
     12 key rndc_key {
     13 	secret "1234abcd8765";
     14 	algorithm @DEFAULT_HMAC@;
     15 };
     16 
     17 controls {
     18 	inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
     19 };
     20 
     21 view default {
     22 	match-clients { any; };
     23 	recursion no;
     24         dnssec-validation no;
     25 	zone "1.0.0.127.in-addr.arpa." {
     26 		type primary;
     27 		file "localhost.db";
     28 		update-policy {
     29 			grant * tcp-self . ANY;
     30 		};
     31 	};
     32 };
     33 
     34 view chaos ch {
     35 	match-clients { any; };
     36 	recursion no;
     37 	zone example {
     38 		type primary;
     39 		file "example.db";
     40 		allow-update { any; };
     41 	};
     42 };
     43