// 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; }; };