bind restart fails

Kiekeboe100

Verified User
Joined
Apr 19, 2008
Messages
142
Location
Belgium
hello,

since i was having some dns troubles lately, i saw that bind isn't restarting properly.

I get this message
Stopping domain name service...: bindrndc: connect failed: 127.0.0.1#953: connection refused
failed!
Starting domain name service...: bind failed!

Some problems I had:
couple of weeks ago for one reason or another (I think a directadmin plugin), ALL file ownerships were set to diradmin:diradmin. This should be fixed.
couple of days ago I reconfigured the firewall, but even with the previous ruleset it doesn't restart.

When I kill the /usr/sbin/named -u bind process, it does start afterwards.

thx,
Stijn
 
Check /etc/named.conf


Be sure port 953 is declared there:


Code:
controls {
	inet dns.ip.is.here 953
		allow { your.snat.ip.here; } keys { "rndc-key"; };

};

and be sure port 953 is added in the firewall marked active
 
Back
Top