[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: DINB 9: rcnd: connection refused



In article <[🔎] 1076501381.576.13.camel@funburst.smooth.bom>, Phillipus Gunawan wrote:
> Hi there,
> 
> I am setting up a BIND for my local network (anydomain.bom) acessible
> only for local domain. This is the second time I build BIND, my old
> Debian crashed after I accidently unplug one of my hdd-ide cable (there
> are 3 hdd(s) ) and Debian kernel starting panic...
> 
> When I start Bind from '/etc/init.d/bind9 start', everything looks fine,
> like nothing wrong. But I found out that Bind acctually not working
> properly. /etc/init.d/bind9 reload/restart will give this error message:
> 
> Stopping domain name service: named
> rndc: connect failed: connection refused

The magic is in /etc/bind/rndc.conf (and the corresponding key
in /etc/bind/named.conf).

Create the magic using rndc-confgen.

In my case, lwresd was somehow installed, and messing up the
communication. Removing lwresd (and kill-ing the process that
stayed on even after I removed the package) solved it.

Oh, and after you've setup rndc.conf and named.conf, you need
to kill named once manually, so that it re-reads the named.conf
information.


--
joostje



Reply to: