Date: Fri, 5 Jul 2002 14:14:17 -0500 (CDT) From: <randy@turbowarp.net> To: <questions@freebsd.org> Subject: Bind 9.2.1 rndc problems Message-ID: <3011.64.192.42.53.1025896457.squirrel@new.host.name>
index | next in thread | raw e-mail
Hello,
I am having issues with Bind 9.2.1. Installed from ports onto 4.5-Ref
system.
When I start bind I get the errors below:
Jul 5 13:28:34 desert named[25263]: starting BIND 9.2.1
Jul 5 13:28:34 desert named[25263]: couldn't add command channel
127.0.0.1#953: not found
For practical purposes it is serving up zones. But rndc is not working.
It's another daemon in my life that I want control over.
Which by what I have read is some problen to do with rndc keys or conf
file, but I will be darned if I can figure it out. I searched the bind
lists, read the Cricket book and found this to be a fairly common problem
that, for others, was easily fixed with minor adjustments.
I have tried so many different configurations and modifications of files.
Which leads me to believe that it may have something to do with Freebsd
specifics, such as file locations. I have rndc.conf in /etc/rndc.conf;
named.conf is in /etc/named/named.conf. I don't have a separate key file
since the key file is in named.conf.
I don't know how to turn up logging and look deeper wihtou rndc. All this
said and done, are there any evident configuration problems, suggestions
or ideas for getting rndc functioning.
Thanks
Here is the rndc.conf file.
desert# less /etc/rndc.conf
// /etc/rndc.conf
options {
default-server 127.0.0.1;
default-key "rndc-key";
};
key "rndc-key" {
algorithm hmac-md5;
secret "wouldn'tyouliketoknow==";
};
And finally here is the named.conf
desert# less /etc/namedb/named.conf
// /etc/namedb/named.conf July 5, 2002
options { directory "/etc/namedb"; };
controls {
inet 127.0.0.1
allow { any; }
keys { "rndc-key"; };
};
key "rndc-key" {
algorithm hmac-md5;
secret "wouldn'tyouliketoknow==";
};
zone "." {
type hint;
file "named.root";
};
zone "0.0.127.IN-ADDR.ARPA" {
type master;
file "localhost.rev";
};
// Primary Zones
/*
zone "domain.com" {
type master;
file "db.domain.com";
};
zone "turbowarp.net" {
type master;
file "db.turbowarp.net";
}
zone "solarwarp.net" {
type master;
file "db.solarwarp.net";
};
*/
// Slave Zones
zone "turbowarp.net" {
type slave;
file "db.turbowarp.net";
masters { 209.8.88.2; };
};
zone "solarwarp.net" {
type slave;
file "db.solarwarp.net";
masters { 209.8.88.2; };
};
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3011.64.192.42.53.1025896457.squirrel>
