rndc: connect: connection refused
Von Alt, William
William.VonAlt at hq.doe.gov
Thu Jun 28 18:50:42 UTC 2001
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
rndc can "restart" the named service, but can't start it if it isn't
already running.
- -William Von Alt
Verizon/US Department of Energy
301.903.2710
- -----Original Message-----
From: Leo [mailto:newsee at bellsouth.net]
Sent: Thursday, June 28, 2001 10:28 AM
To: %internet
Subject: rndc: connect: connection refused
When I tried to run the rndc utility, I can't because the connection
is
refused. I'm the root, No logs. and named is not running.
# /usr/sbin/rndc reload
rndc: connect: connection refused
I already read
http://www.ipsec.nu/dns/bind9/Bv9ARM.html and download a Bind 9
Manual. I
tried everything that I found and nothing happen.
I created the key using
/usr/sbin/dnssec-keygen -a hmac-md5 -b 128 -n USER rndc_key
I'm new with linux and I need to setup a web server for multiples
virtual
domain with and without IPs
Any help I really appreciate it.
Thanks in advance
Leo
These are my rndc.con and named.conf
rndc.conf
################################################
options {
default-server localhost;
default-key rndc_key;
};
server localhost {
key rndc_key;
};
key rndc_key {
algorithm "hmac-md5";
secret "xxxxxxxxxxxxxxxxxxxxx==";
};
named.conf
#################################################
options {
directory "/etc/named";
pid-file "named.pid";
allow-query { any; };
recursion no;
};
zone "." {
type hint;
file "named.ca";
};
zone "0.0.127.in-addr.arpa" {
type master;
file "named.local";
notify no;
};
zone "xxx.xxx.206.in-addr.arpa" {
type master;
file "db.206.xxx.xxx";
notify no;
};
key rndc_key {
algorithm "hmac-md5";
secret "xxxxxxxxxxxxxxxxxxxxxxxx==";
};
server 206.yyy.yyy.yyy{
keys { rndc_key; }'
};
controls {
inet 127.0.0.1 allow {localhost; 206.yyy.yyy.yyy}
keys
{ rn
};
zone "domain1.com" in { type master; file "domain1.com.zone"; };
zone "domain2.com" in { type master; file "domain2.com.zone"; };
zone "domain3.com" in { type master; file "domain3.com.zone"; };
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>
iQA/AwUBOzt9d6Lt3F6/gxCXEQI0JQCcCYOjb6y0sB1EIYBAz7wpoaD+IGkAn22a
us2heLE/wE2chxboL3l19z0c
=Qams
-----END PGP SIGNATURE-----
More information about the bind-users
mailing list