Hi, Ive got a dns server on #### that works perfectly fine, but when i copy named.conf and the dns zones (pri's) to my #### DNS server i get errors, it looks like its something to do with this rndc thing, however its not configured at all in named.conf. Heres the errors i get: Code: server2:~# /etc/init.d/bind9 restart Stopping domain name service...: bindrndc: connect failed: 127.0.0.1#953: connection refused failed! Starting domain name service...: bind failed! server2:~# Thanks, Alex
Still doesnt work, I change the user in the options from bind to nobody and it fails still I changed it back and checked the permssions were the bind user Still no luck Any ideas? Thanks, Alex
Hi, To fix the problem, first search for bind errors in /var/log/demons Bind uses a program called rndc to stop and restart bind, but bind itself is not started using rndc. I assumed when bind failed to start, it was for the same error as error message i was given when i restarted bind though they were different errors. The rncd error messages is give if either bind isnt running or port 953 on localhost (127.0.0.1) is blocked. Bind wasnt running for me so, I check the error logs and found there was a syntax error in named.conf, i fixed this and it all worked again Thanks, Alex
Hi, Run the following: Code: chown root:root /etc/bind/rndc.key chmod 755 /etc/bind/rndc.key Then try restarting, Hope it works, Alex