Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-07-2009, 02:42 PM   #1
LQ Newbie
Registered: Dec 2009
Posts: 2

Rep: Reputation: 0
Exclamation Problems With Bind9

When I try to restart bind9 after configuring everything I get this message.

rndc: connection failed: connection refused

What am I doing wrong?

Last edited by lennemann23; 12-07-2009 at 02:45 PM.
Old 12-07-2009, 03:08 PM   #2
Senior Member
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 167Reputation: 167
Could be several things, can you post up a netstat -plan and iptables -L -n and a copy of your relevant configs.
Old 12-07-2009, 03:10 PM   #3
LQ Newbie
Registered: Dec 2009
Posts: 2

Original Poster
Rep: Reputation: 0
I'm going to be honest. I just started linux the other day and I have no clue how to do that.
Old 12-07-2009, 03:44 PM   #4
Registered: Nov 2001
Location: n chicago, IL. USA
Distribution: Slackware
Posts: 307

Rep: Reputation: 31
open a terminal and type the above comands.
highlight the results with cursur, and you should be able to paste the code. dont forget to use the 'code' thingie when posting.

might also check that rndc keys match?
Old 12-07-2009, 06:10 PM   #5
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,329

Rep: Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745
rndc: connection failed: connection refused
rndc connects through port 953 on the ip address (aka localhost).
Your firewall (iptables) setting has that port blocked.

Please post your Linux distribution's name and version number (add it to your profile) for better help.
There's a good chapter on DNS/bind here
regardless of distribution.
You'll find the config filenames in there.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bind9 Problems cegha Linux - Server 10 09-09-2009 12:55 AM
Debian Bind9 chroot problems eentonig Linux - Server 1 09-24-2008 11:39 AM
Problems w/ caching-only nameserver (BIND9.3.3-10) KaniGT5 Linux - Server 1 03-10-2008 03:07 PM
BIND9/Postfix Problems icarusfall Linux - Software 4 08-23-2005 10:31 AM
problems setting up bind9 hwa Linux - Networking 2 04-10-2005 11:47 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:27 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration