tomfmason Posted November 1, 2007 Share Posted November 1, 2007 I fought with this for several hours last night and have tried everything I can think of. First I made sure that the syntax was correct in the named.conf. There was two small syntax errors that I cleared up right away. Then I thought maybe it was an issue with the permissions for the new zone file. So I: [root@tomfmason ~]# ls -l /var/named/chroot total 12 drwxr-x--- 2 root named 4096 Feb 24 2007 dev drwxr-x--- 2 root named 4096 Oct 20 12:18 etc dr-xr-xr-x 75 root root 0 Aug 20 00:02 proc drwxrwxr-x 5 root named 4096 Feb 24 2007 var [root@tomfmason ~]# ls -l /var/named/chroot/var/named/ total 64 lrwxrwxrwx 1 root root 6 Feb 24 2007 chroot -> ../../ drwxr-xr-x 2 named named 4096 Aug 25 2004 data -rwxr-xr-x 1 named named 2769 Feb 24 2007 named.ca -rwxr-xr-x 1 named named 256 Feb 24 2007 named.local -rwxr-xr-x 1 named named 668 Feb 24 2007 pri.68.64.69.in-addr.arpa -rwxr-xr-x 1 named named 736 Oct 11 16:31 pri.netgeekz.net -rwxr-xr-x 1 named named 729 Aug 23 19:36 pri.qualitycoders.biz -rwxr-xr-x 1 named named 731 Aug 23 19:38 pri.qualitycoders.info -rwxr-xr-x 1 named named 748 Oct 2 14:30 pri.qualitycoders.net -rwxr-xr-x 1 named named 729 Aug 23 19:36 pri.qualitycoders.org -rwxr-xr-x 1 named named 764 Nov 1 2007 pri.rails-solutions.com <---- New zone -rwxr-xr-x 1 named named 742 Feb 24 2007 pri.tomfmason.info -rwxr-xr-x 1 named named 839 Oct 20 12:19 pri.tomfmason.net drwxr-xr-x 2 named named 4096 Jul 27 2004 slaves That seemed about right. Then I checked the log. [root@tomfmason ~]# tail -f /var/log/messages Nov 1 01:30:26 tomfmason named[1266]: shutting down: flushing changes Nov 1 01:30:26 tomfmason named[1266]: stopping command channel on 127.0.0.1#953 Nov 1 01:30:26 tomfmason named[1266]: stopping command channel on ::1#953 Nov 1 01:30:26 tomfmason named[1266]: no longer listening on 127.0.0.1#53 Nov 1 01:30:26 tomfmason named[1266]: no longer listening on 69.64.68.234#53 Nov 1 01:30:27 tomfmason named[1266]: exiting Anyone have any suggestions as to how I could trouble shoot this further or a possible solution? Quote Link to comment https://forums.phpfreaks.com/topic/75661-bind-rndc-connect-failed-connection-refused/ Share on other sites More sharing options...
steviewdr Posted November 2, 2007 Share Posted November 2, 2007 I think you've fixed this yourself Tom. Just to mention: man rndc: rndc = name server control utility So...if rndc says "connection refused", it cant connect to the name server. Try: telnet localhost 53 and/or restart named to make sure its running etc. -steve Quote Link to comment https://forums.phpfreaks.com/topic/75661-bind-rndc-connect-failed-connection-refused/#findComment-383186 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.