saitam
(usa Slackware)
Enviado em 29/05/2011 - 17:56h
Daew galera, to configurando um servidor DNS (BIND) na distro Slackware, mas na hora de iniciar o serviço rc.bind, acusa mensagem
root@Slackware: /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!
Veja abaixo os arquivos BIND utilizados
named.conf
options {
directory "/var/named";
version "PROTECT";
minimal-response yes;
allow-transfer {192.168.1.103;};
listen-on {127.0.0.1; 192.168.1.103;};
allow-recursion {127.0.0.1; localhost; 192.168.1.103/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.root";
};
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 "103.1.168.192.in-addr.arpa" IN {
type master;
file "caching-example/domain.rev";
allow-transfer {192.168.1.103;};
};
zone "mundodacomputacao.com.br" IN {
type master;
file "caching-example/saitam.host";
allow-transfer {192.168.1.103;};
};
domain.rev
$TTL 86400
$ORIGIN mundodacomputacao.com.br.
@ IN SOA Slackware.mundodacomputacao.com.br. root.Slackware.mundodacomputacao.com.br. (
4 ; Serial de sincronização
604800 ; refresh
86400 ; retry
2419100 ; expiry
640800 ) ; Negative cache TTL
NS Slackware.mundodacomputacao.com.br.
1 IN PTR ftp
1 IN PTR www
saitam.host
$TTL 86400
@ IN SOA Slackware.mundodacomputacao.com.br. root.Slackware.mundodoacomputacao.com.br. (
4 ; Serial de sincronização
604800 ; refresh
86400 ; retry
2419100 ; expiry
640800 ) ; Negative cache TTL
NS Slackware.mundodacomputacao.com.br.
IN MX 10 mundodacomputacao.com.br.
localhost IN A 127.0.0.1
mundodacomputacao.com.br. IN A 192.168.1.103
dns IN A 192.168.1.103
www IN A 192.168.1.103
ftp IN A 192.168.1.103
Então, onde estou errando?