Hi guys,
I just put my dns to work hear at my network, so now I'm wanting to
put it to my webserver with a real domain name.
At my office machine I have bind-9.2.5 that is working very fine, but
at the webserver I have bind-9.2.2-r3. My problem now is that bind at
webserver refuse to work. I even tried to completelly remove bind of
my system e re-emerge it, calling named with the default configuration
and it also doesnt't work.
[EMAIL PROTECTED] bind # named -c named.conf -g
May 04 10:56:09.385 starting BIND 9.2.2-P1 -c named.conf -g
May 04 10:56:09.385 using 2 CPUs
May 04 10:56:09.387 loading configuration from '/etc/bind/named.conf'
May 04 10:56:09.388 listening on IPv4 interface lo, 127.0.0.1#53
May 04 10:56:09.390 none:0: open: /etc/bind/rndc.key: permission denied
May 04 10:56:09.390 couldn't add command channel 127.0.0.1#953:
permission denied
May 04 10:56:09.390 ignoring config file logging statement due to -g option
May 04 10:56:09.390 couldn't open pid file '/var/run/named/named.pid':
Permission denied
May 04 10:56:09.390 exiting (due to early fatal error)
I've checked the directories and files permissions and it's equals in
my office network.
How I telled, I'm trying to use the default bind configuration as you
can see below:
options {
directory "/var/bind";
// uncomment the following lines to turn on DNS forwarding,
// and change the forwarding ip address(es) :
//forward first;
//forwarders {
// 123.123.123.123;
// 123.123.123.123;
//};
listen-on-v6 { none; };
listen-on { 127.0.0.1; };
// to allow only specific hosts to use the DNS server:
//allow-query {
// 127.0.0.1;
//};
// if you have problems and are behind a firewall:
//query-source address * port 53;
pid-file "/var/run/named/named.pid";
};
zone "." IN {
type hint;
file "named.ca";
};
zone "localhost" IN {
type master;
file "pri/localhost.zone";
allow-update { none; };
notify no;
};
zone "127.in-addr.arpa" IN {
type master;
file "pri/127.zone";
allow-update { none; };
notify no;
};
So what could be happening? Is that a problem with this version? I
can't do a full "emerge sync" now with the webserver operating, but if
I can just "emerge sync" bind, is there a possible?
Tks in any advice,
Claudinei de Matos
--
[email protected] mailing list