Enviado em 27/05/2010 - 10:34h
Prezados,
Estou tentando configurar o bind-9.4.2-i486-2.tgz no Slackware 13, porém estou encontrando algumas dificuldades, pois mesmo seguindo o How to, atentando a cada detalhe na edição dos arquivos, não consigo fazê-lo funcionar! Gostaria de contar com a ajuda de vocês e consequentemente se tem alguma coisa errada nos seguintes arquivos! Mesmo ao startar o serviço não consigo pingar o www, ftp etc! Abaixo estão os arquivos: named.conf, domain.rev e o slacks.host
named.conf.
options {
directory "/var/named";
version "descubra";
minimal-responses yes;
allow-transfer {172.25.16.2;};
listen-on {127.0.0.1; 172.25.16.1;};
allow-recursion {127.0.0.1; localhost; 172.25.0.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
2
* 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 "0.0.25.172.in-addr.arpa" IN {
type master;
file "caching-example/domain.rev";
allow-transfer { 172.25.16.2; };
};
zone "slacks.com.br" IN {
type master;
file "caching-example/slacks.host";
allow-transfer { 172.25.16.2; };
};
domain.rev.
$TTL 86400
$ORIGIN slacks.com.br.
0.25.172.in-addr.arpa IN SOA slackware.slacks.com.br.
root.slackware.slacks.com.br. (
&n bsp; 2004101901 ; Serial de sincronização
&n bsp; 3H ; refresh
&n bsp; 15M ; retry
&n bsp; 1W ; expiry
&n bsp; 1D ) ; minimum
NS dns.slacks.com.br.
1 IN PTR ftp
1 IN PTR www
2 IN PTR dns2
1 IN PTR smtp
slacks.host
$TTL 86400
@ IN SOA slackware.slacks.com.br. root.slackware.slacks.com.br.
(
2004101901 ;Serial de sincronização
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum
NS dns.slacks.com.br.
IN MX 10 slacks.com.br.
localhost IN A 127.0.0.1
slacks.com.br. IN A 172.25.16.22
dns IN A 172.25.16.22
dns2 IN A 172.25.16.2
www IN A 172.25.16.22
ftp IN A 172.25.16.22
mail IN CNAME slacks.com.br.
pop IN CNAME slacks.com.br.
router IN A 172.25.16.254
Desde já agradeço pela colaboração de vocês!
Estou tentando configurar o bind-9.4.2-i486-2.tgz no Slackware 13, porém estou encontrando algumas dificuldades, pois mesmo seguindo o How to, atentando a cada detalhe na edição dos arquivos, não consigo fazê-lo funcionar! Gostaria de contar com a ajuda de vocês e consequentemente se tem alguma coisa errada nos seguintes arquivos! Mesmo ao startar o serviço não consigo pingar o www, ftp etc! Abaixo estão os arquivos: named.conf, domain.rev e o slacks.host
named.conf.
options {
directory "/var/named";
version "descubra";
minimal-responses yes;
allow-transfer {172.25.16.2;};
listen-on {127.0.0.1; 172.25.16.1;};
allow-recursion {127.0.0.1; localhost; 172.25.0.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
2
* 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 "0.0.25.172.in-addr.arpa" IN {
type master;
file "caching-example/domain.rev";
allow-transfer { 172.25.16.2; };
};
zone "slacks.com.br" IN {
type master;
file "caching-example/slacks.host";
allow-transfer { 172.25.16.2; };
};
domain.rev.
$TTL 86400
$ORIGIN slacks.com.br.
0.25.172.in-addr.arpa IN SOA slackware.slacks.com.br.
root.slackware.slacks.com.br. (
&n bsp; 2004101901 ; Serial de sincronização
&n bsp; 3H ; refresh
&n bsp; 15M ; retry
&n bsp; 1W ; expiry
&n bsp; 1D ) ; minimum
NS dns.slacks.com.br.
1 IN PTR ftp
1 IN PTR www
2 IN PTR dns2
1 IN PTR smtp
slacks.host
$TTL 86400
@ IN SOA slackware.slacks.com.br. root.slackware.slacks.com.br.
(
2004101901 ;Serial de sincronização
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum
NS dns.slacks.com.br.
IN MX 10 slacks.com.br.
localhost IN A 127.0.0.1
slacks.com.br. IN A 172.25.16.22
dns IN A 172.25.16.22
dns2 IN A 172.25.16.2
www IN A 172.25.16.22
ftp IN A 172.25.16.22
mail IN CNAME slacks.com.br.
pop IN CNAME slacks.com.br.
router IN A 172.25.16.254
Desde já agradeço pela colaboração de vocês!