PDA

View Full Version : RNDC problems on FC1


awesomejt
2004-04-21, 10:47 AM CDT
Hi,
I'm having problems getting rndc to work at all (and thus named to work). It keeps giving me a failed connect error regardless of what command I send to rndc. I looked at /etc/rndc.conf and it looks fine. I followed the exampe setup from the RH9 DNS how-to on the RedHat site -- same results.

Is anyone else having problems with rndc/named? Any solutions?

Thanks!

kel
2004-04-26, 02:19 PM CDT
check that a) your named.conf is set to listen to your network interface or the loopback interface, b) that your firewall setup allows connection to port 53, and c) that named correctly started (check /var/log/messages for errors).

chetshot
2005-04-03, 11:47 AM CDT
check permissions on /var/run/named where the pid file resides......the owner shuld be named.....group named......permissions 755..........also check named -g -p 53
if it gives permision denied for pid....then//......do it......otherwise see...bind-9.net bind faq..........
enjoy.........can reach me at chetan_phalak@rediffmail.com....with the output of named -g -p 53...or any other port............
but i recommend 53

chetshot
2005-04-03, 11:49 AM CDT
hi people......finally the rndc bug is out of the stadium......i have found the solution ......
it depends on only the permissions of files and directories...
rndc .conf ........root.named....755
named.conf.......named.named.....755
also if there is errror like ....permission denied on named.pid after running ....named -g -p 53.....then u have to change permissions....of /var/run/named derectory......where the pid resides.....

chetshot
2005-04-03, 11:51 AM CDT
owner of /var/run/named ...named...group named....755.............