Same Problem Here.... /scripts/fixndc didn't work!
We are getting the same error message, but when we run /scripts/fixndc from SSH root it says this:
Found controls in named.conf ..
Found key in (include) named.conf ..
named.conf has already been fixed!
We restart bind and we still get the following error:
ndc: error: ctl_client: evConnect(fd 3): Connection refused ndc: error: cannot connect to command channel (/var/run/ndc)
Here is what the top of our file looks like:
// generated by named-bootconf.pl
options {
directory &/var/named&;
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
// query-source address * port 53;
};
//
// a caching only nameserver config
//
zone &.& IN {
type hint;
file &named.ca&;
};
zone &localhost& IN {
type master;
file &localhost.zone&;
allow-update { none; };
};
controls {
inet * allow { any; } keys { &rndc-key&; };
};
include &/etc/rndc.key&;
## Domains ##
zone &yourhostserver.com& IN {
type master;
file &yourhostserver.com.db&;
};
## Domains ##
There is nothing in the /etc/rndc.key file.