Using the howto 'http://www.howtoforge.com/bind-installation-on-centos' I am trying to install BIND on a CentOS 6.0 VPS that will serve as a primary nameserver. After following the instructions up to step 6 I get the following outputs: [root@ns1 ~]# cat /etc/resolv.conf nameserver 50.58.72.200 [root@ns1 ~]# cat /etc/named.conf // // named.conf for Red Hat caching-nameserver // options { directory "/var/named"; dump-file "/var/named/data/cache_dump.db"; statistics-file "/var/named/data/named_stats.txt"; /* * If there is a firewall between you and nameservers you want * to talk to, you might need to uncomment the query-source * directive below. Previous versions of BIND always asked * questions using port 53, but BIND 8.1 uses an unprivileged * port by default. */ // query-source address * port 53; }; // // a caching only nameserver config // controls { inet 127.0.0.1 allow { localhost; } keys { rndckey; }; }; zone "localhost" IN { type master; file "localhost.zone"; allow-update { none; }; }; zone "nameserver.net" IN { type master; file "/var/named/nameserver.net.zone"; allow-update { none; }; }; zone "72.58.50.in-addr.arpa" IN { type master; file "/var/named/72.58.50.rev"; allow-update { none; }; }; include "/etc/rndc.key"; [root@ns1 ~]# cat /var/named/nameserver.net.zone $TTL 6400 @ IN SOA nameserver.net. root.nameserver.net. ( 100 ; serial 1H ; refresh 1M ; retry 1W ; expiry 1D ) ; minimum @ IN NS ns1.nameserver.net. @ IN A 50.58.72.200 ns1 IN A 50.58.72.200 @ IN MX 10 mail.nameserver.net. mail IN A 50.58.72.200 WWW IN A 50.58.72.200 [root@ns1 ~]# cat /var/named/72.58.50.rev $TTL 6400 @ IN SOA nameserver.net. root.nameserver.net. ( 100 ; serial 1H ; refresh 1M ; retry 1W ; expiry 1D) ; minimum @ IN NS ns1.nameserver.net. 1 IN PTR binggo.nameserver.net. [root@ns1 ~]# nslookup nameserver.net ;; connection timed out; no servers could be reached [root@ns1 ~]# /etc/init.d/named start Starting named: Error in named configuration: /etc/named.conf:22: unknown key 'rndckey' [FAILED] Any help is greatly appreciated. Thank you!
Seems like it dont like this line /etc/named.conf:22: unknown key 'rndckey' [FAILED] Try to comment out the problem line 22 Save and reload named