brunoL.
(usa Debian)
Enviado em 19/01/2009 - 11:47h
Amigos não estou conseguindo startar o bind, sempre da erro, gostaria que vcs analizasem o meu script dns e o erro do bind.
este é o named.conf
options {
directory "/var/named";
version "PROTECT";
allow-transfer {192.168.254.2;};
listen-on (127.0.0.1; 192.168.254.1;};
allow-recursion {127.0.0.1; localhost; 192.168.254.0/24};
/*
* 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 "caching-example/named.ca";
};
zone "localhost" IN {
type master;
file "caching-example/localhost.zone";
allow-update { none; };
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "caching-example/named.local";
allow-update { none; };
};
zone "204.168.192.in-addr.arpa" IN {
type master;
file caching-example/inversa";
allow-transfer { 192.168.254.2 };
};
zone "studio.net" IN {
type master;
file "caching-example/direta";
allow-transfer { 192.168.254.2; };
};
ESTA A ZONA INVERSA
$TTL 86400
$ORIGIN studio.net.
254.168.192.in-addr.arpa IN SOA bruno.studio.net root.bruno.studio.net.(
2007061701 ; Serial de sicronização
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum
NS bruno.studio.net.
1 IN PTR localhost
E ESTA A DIRETA
$TTL 86400
@ IN SOA bruno.studio.net. root.bruno.studio.net. (
2007061701 ; Serial de sincronização
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum
NS bruno.studio.net.
localhost IN A 127.0.0.1
studio.net. IN A 192.168.254.1
dns IN A 192.168.254.1
www IN CNAME studio.net
bruno IN A 192.168.254.1
1 IN PTR localhost
E AQUI O ERRO DO BIND
root@bruno:~# cd /etc/rc.d
root@bruno:/etc/rc.d# ./rc.bind start
Starting BIND: /usr/sbin/named
WARNING: named did not start.
Attempting to start named again: /usr/sbin/named
FAILED: Sorry, a second attempt to start named has also failed.
There may be a configuration error that needs fixing. Good luck!
root@bruno:/etc/rc.d#
AGRADEÇO SE PUDEREM ME AJUDAR