pedro_humberto
(usa Debian)
Enviado em 06/03/2014 - 14:26h
Boa tarde, Pessoal.
Tenho um servidor Debian 7 - 64bits e estou com uma dificuldade para configurar o bind9.
O erro apresentado é o seguinte:
# named-checkconf -z:
zone bsb.net/IN: loaded serial 2014041589
/etc/bind/zones/named.10.80.50:16: ignoring out-of-zone data (1.50.80.10.in-addr.arpa)
zone 50.80.10.in-addr-arpa/IN: loaded serial 3833774384
zone localhost/IN: loaded serial 2
zone 127.in-addr.arpa/IN: loaded serial 1
zone 0.in-addr.arpa/IN: loaded serial 1
zone 255.in-addr.arpa/IN: loaded serial 1
########################
cat /etc/bind/named.conf:
include "/etc/bind/named.conf.options";
include "/etc/bind/named.conf.local";
include "/etc/bind/named.conf.default-zones";
include "/etc/bind/rndc.key";
########################
cat /etc/bind/named.default-zones
zone "." {
type hint;
file "/etc/bind/db.root";
};
zone "localhost" {
type master;
file "/etc/bind/db.local";
};
zone "127.in-addr.arpa" {
type master;
file "/etc/bind/db.127";
};
zone "0.in-addr.arpa" {
type master;
file "/etc/bind/db.0";
};
zone "255.in-addr.arpa" {
type master;
file "/etc/bind/db.255";
};
########################
cat /etc/binb/named.conf.local
controls {
inet 127.0.0.1 port 53
allow {127.0.0.1;}
keys {"rndc-key";};
};
zone "bsb.net" {
type master;
file "/etc/bind/zones/db.bsb.net";
allow-update { 10.80.50.203; key "rndc.key";};
allow-query {any;};
notify yes;
};
zone "50.80.10.in-addr-arpa" IN {
type master;
file "/etc/bind/zones/named.10.80.50";
allow-update {10.80.50.203; key "rndc.key";};
allow-query {any;};
notify yes;
};
########################
cat /etc/bind/zones/db.bsb.net
$ORIGIN .
$TTL 42300 ; 12 horas
bsb.net IN SOA ns1.bsb.net. root.bsb.net. (
2014041589 ; serial
28800 ; refresh (8 horas)
14400 ; retry (4horas)
1209600 ; expire
86400 ; minimum
)
NS ns1.bsb.net.
A 10.80.50.203 ;
$ORIGIN bsb.net.
ns1 A 10.80.50.203 ;
www A 10.80.50.203 ;
www2 A 10.80.50.203 ;
www3 A 10.80.50.203 ;
########################
cat /etc/bind/zones/named.10.80.50
$TTL 604800 ;
@ IN SOA ns1.bsb.net. root.bsb.net. (
201402270000;
28800;
14400;
3600000;
86400;
)
@ IN NS ns1.bsb.net.
$ORIGIN 50.80.10.in-addr.arpa.
1 IN PTR ns1.bsb.net.
########################
Pessoal, não faço ideia do que seja.
se alguém puder me ajudar, fico muito agradecido.