Rndc
Feb 8, 2007
It appears that rndc has been configured wrong. I typed the command "cat /var/log/messages | grep named" and got the following error.
Feb 8 16:50:59 server named[7505]: /etc/rndc.key:1: configuring key 'rndc-key': bad base64 encoding
Feb 8 16:50:59 server named[7505]: loading configuration: bad base64 encoding
Feb 8 16:50:59 server named[7505]: exiting (due to fatal error)
Feb 8 16:50:59 server named: named startup failed
View 9 Replies
Jan 11, 2007
I have a problem with one of the servers since the morning, DNS is down and trying to start it giving failed message.
I'm using Fedora 5
CPanel 10.9.0-S119
named (9.3.3rc2) with installed Packages: bind-9.3.3-0.2.rc2.fc5 / bind-devel-9.3.3-0.2.rc2.fc5 / bind-libbind-devel-9.3.3-0.2.rc2.fc5 / bind-libs-9.3.3-0.2.rc2.fc5 / bind-utils-9.3.3-0.2.rc2.fc5 / binutils-2.16.91.0.6-5
kernel-2.6.18-1.2257.fc5
Error Message:
Quote:
root@server [~]# service named start
Starting named:
Error in named configuration:
zone alexaian-d.com/IN: loaded serial 2006040201
zone al-jan.org/IN: loaded serial 2006073101
named.conf file
Quote:
root@server [~]# cat /etc/named.conf
include "/etc/rndc.key";
controls {
inet 127.0.0.1 allow { localhost; } keys { "rndckey"; };
};
options {
};
zone "alexaian-d.com" {
type master;
file "/var/named/ahmed-d.com.db";
};
zone "al-jan.org" {
type master;
file "/var/named/al-jinan.org.db";
};
rndc: connect failed: 127.0.0.1#953: connection refused
Quote:
root@server [~]# service named status, I'm getting the error:
rndc: connect failed: 127.0.0.1#953: connection refused
View 12 Replies
View Related
Feb 24, 2007
When I creating the new account www (WHM) and addition new domain in cPanel I receive information:
Error reconfiguring bind on bunny: rndc: connection to remote host closed
This may indicate that the remote server is using an older version of
the command protocol, this host is not authorized to connect,
View 9 Replies
View Related
Oct 22, 2009
i have a vps
and all my site not working!
i got this error:
rndc: connect failed: 127.0.0.1#953: connection refused
View 1 Replies
View Related
Jun 23, 2007
i am trying to setup my dedicated server and when i try to add an "A Entry" for either Nameservers or hostname then i get the following error:
Code:
BBind reloading on server using rndc zone: [domainname]
View 5 Replies
View Related
Oct 22, 2009
i got this error :
rndc: connect failed: 127.0.0.1#953: connection refused
oot@server [/]# rndc status
rndc: connect failed: 127.0.0.1#953: connection refused
root@server [/]# /etc/init.d/named status
rndc: connect failed: 127.0.0.1#953: connection refused
named is stopped
root@server [/]# /scripts/fixndc
Named could not be restarted, any obvious config errors should show up below this line.
No critical problems found, will attempt to regenerate keys regardless.
warn [fixrndc] /usr/sbin/rndc status failed: rndc: connect failed: 127.0.0.1#953: connection refused
Creating rndc.conf
Creating /etc/rndc.key
warn [fixrndc] /usr/sbin/rndc status failed: rndc: connect failed: 127.0.0.1#953: connection refused
Restarting named
warn [fixrndc] /usr/sbin/rndc status failed: rndc: connect failed: 127.0.0.1#953: connection refused
/scripts/fixrndc failed to fix the rndc key (or named is otherwise broken), please investigate manually
and i have try to reload the rndc but i got this error :
root@server [~]# rndc reload
rndc: connect failed: 127.0.0.1#953: connection refused
my vps info : linux os - centos , using cpanel , apache , mysql ....
root@server [~]# uname -r
2.6.18-028stab064.7
View 13 Replies
View Related
Apr 8, 2009
It started with this error:
Bind reloading on server01 using rndc zone: [ns1.mydomain.net]
Error reloading bind on server01: rndc: connect failed: 127.0.0.1#953: connection refused
so i did the obvious checked the csf firewall to see if port 953 was enabled and it was
so i took a look at rndc.conf
Code:
root@server01 [~]# nano /etc/rndc.conf
#start of rndc.conf
key "rndc-key" {
algorithm hmac-md5;
secret "KLGSBmWZrev0I4fR4Tm4GXxdcYSTFzF23b1f9is1M=";
};
options {
default-key "rndc-key";
default-server 127.0.0.1;
default-port 953;
};
# End of rndc.conf
# Use with the following in named.conf, adjusting the allow list as needed:
#key "rndc-key" {
# algorithm hmac-md5;
# secret "KLGSBmWZrev0I4fR4Tm4GXxdcYSTFzF23b1f9is1M=";
#};
#
# controls {
# inet 127.0.0.1 port 953
# allow { 127.0.0.1; } keys { "rndc-key"; };
# };
# End of named.conf
Then i took a look at named.conf
Code:
options {
/* make named use port 53 for the source of all queries, to allow
* firewalls to block all ports except 53:
*/
//query-source port 53;
/* We no longer enable this by default as the dns posion exploit
has forced many providers to open up their firewalls a bit */
// Put files that named is allowed to write in the data/ directory:
directory "/var/named"; // the default
pid-file "/var/run/named/named.pid";
dump-file "data/cache_dump.db";
statistics-file "data/named_stats.txt";
/* memstatistics-file "data/named_mem_stats.txt"; */
};
logging {
/* If you want to enable debugging, eg. using the 'rndc trace' command,
* named will try to write the 'named.run' file in the $directory (/var/named").
* By default, SELinux policy does not allow named to modify the /var/named" directory,
* so put the default debug log file in data/ :
*/
channel default_debug {
file "data/named.run";
severity dynamic;
};
};
// All BIND 9 zones are in a "view", which allow different zones to be served
// to different types of client addresses, and for options to be set for groups
// of zones.
//
// By default, if named.conf contains no "view" clauses, all zones are in the
// "default" view, which matches all clients.
//
// If named.conf contains any "view" clause, then all zones MUST be in a view;
// so it is recommended to start off using views to avoid having to restructure
// your configuration files in the future.
view "localhost_resolver" {
/* This view sets up named to be a localhost resolver ( caching only nameserver ).
* If all you want is a caching-only nameserver, then you need only define this view:
*/
match-clients { 127.0.0.0/24; };
match-destinations { localhost; };
recursion yes;
zone "." IN {
type hint;
file "/var/named/named.ca";
};
/* these are zones that contain definitions for all the localhost
* names and addresses, as recommended in RFC1912 - these names should
* ONLY be served to localhost clients:
*/
include "/var/named/named.rfc1912.zones";
};
View 5 Replies
View Related
Jun 26, 2007
I've got a dedicated with Centos 4.x, WHM / Cpanel. I have problem when create new account, this is error:
Setting up Mail & Local Domains...localdomains...valiases ...vdomainaliases...vfilters......Done
Configuring DNS...Bind reconfiguring on server using rndc
Error reconfiguring bind on server: rndc: error: /etc/rndc.key:7: 'options' redefined near 'options'
rndc: could not load rndc configuration
View 7 Replies
View Related