Home | History | Annotate | Line # | Download | only in ns2
      1 options {
      2 	port @PORT@;
      3 	pid-file "named.pid";
      4 	listen-on { 10.53.0.2; };
      5 	listen-on-v6 { none; };
      6 	dnssec-validation no;
      7 };
      8 
      9 key "a" {
     10 	algorithm hmac-sha256;
     11 	secret "FrSt77yPTFx6hTs4i2tKLB9LmE0=";
     12 };
     13 
     14 key "b" {
     15 	algorithm hmac-sha256;
     16 	secret "hXfwwwiag2QGqblopofai9NuW28q/1rH4CaTnA==";
     17 };
     18 
     19 /*
     20  * Reference cycles in remote-servers lists must be skipped, not
     21  * followed: named used to recurse into them endlessly and crash on
     22  * startup (GL #6287).
     23  */
     24 primaries "loop-direct" { "loop-direct"; 10.53.0.99 port @PORT@; };
     25 primaries "loop-tail" { 10.53.0.99 port @PORT@; "loop-tail"; };
     26 primaries "loop-a" { "loop-b"; };
     27 primaries "loop-b" { "loop-a"; 10.53.0.99 port @PORT@; };
     28 
     29 /* Reusing a list outside the active recursion path is not a cycle. */
     30 primaries "common" { 192.0.2.1; };
     31 
     32 zone "cycle-direct" {
     33 	type secondary;
     34 	primaries { "loop-direct"; };
     35 };
     36 
     37 zone "cycle-tail" {
     38 	type secondary;
     39 	primaries { "loop-tail"; };
     40 };
     41 
     42 zone "cycle-mutual" {
     43 	type secondary;
     44 	primaries { "loop-a"; };
     45 };
     46 
     47 zone "repeated-list-references" {
     48 	type secondary;
     49 	primaries {
     50 		"common" key "a";
     51 		"common" key "b";
     52 	};
     53 };
     54