Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > by-pkgid > 2ccd8a622a66321523a17c0519ac5323 > files > 34

bind-9.2.2-1mdk.ppc.rpm

// secret must be the same as in /etc/rndc.conf
 key mykey {
       algorithm hmac-md5;
       secret "IriCelUSbPMypSjImBsiTHMauOumRPMkdBjoxVINAx0vxJZNRKGWzFCKibad";
 };

 controls {
       inet 127.0.0.1 port 953
               allow { 127.0.0.1; } keys { mykey; };
 };

options {
	directory "/var/named/";
	pid-file "/var/run/named/named.pid";              // Put pid file in working dir
	auth-nxdomain yes;    
};

zone "." {
	type hint;
	file "named.ca";
};

zone "0.0.127.in-addr.arpa" {
	type master;
	file "named.local";
};

zone "mandrakesoft.com" {
	type master;
	file "mandrakesoft.zone";
	allow-update { key mykey; };
};

zone "33.168.192.in-addr.arpa" {
	type master;
	file "mandrakesoft.reversed";
	allow-update { key mykey; };
};