Enviado em 17/09/2009 - 00:39h
Ola Renato,
agora a mensagem mudou, por isso vou postar os arquivos de novo:
named-checkconf -z
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
dns_rdata_fromtext: /etc/bind/db.dnsdebian:11: near eol: unexpected end of input
zone dnsdebian/IN: loading from master file /etc/bind/db.dnsdebian failed: unexpected end of input
_default/dnsdebian/IN: unexpected end of input
zone 0.16.172.in-addr.arpa/IN: has no NS records
_default/0.16.172.in-addr.arpa/IN: bad zone
named.conf:
// prime the server with knowledge of the root servers
zone "." {
type hint;
file "/etc/bind/db.root";
};
// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912
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";
};
zone "dnsdebian" IN {
type master;
file "/etc/bind/db.dnsdebian";
};
zone "0.16.172.in-addr.arpa" IN {
type master;
file "/etc/bind/db.dnsdebian.reverse";
};
include "/etc/bind/named.conf.local";
db.dnsdebian:
;
; BIND data file for local loopback interface
;
$TTL 604800
$ORIGIN dnsdebian.
@ IN SOA root.dnsdebian. (
252364 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
IN NS ns1.dnsdebian.
IN MX 5 dnsdebian.
ns1 IN A 172.16.0.2
db.dnsreverse:
;
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA ns1.dnsdebian. root.dnsdebian. (
252364 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
IN NS ns1.dnsdebian.
30 IN PTR ns1.dnsdebian.
agora a mensagem mudou, por isso vou postar os arquivos de novo:
named-checkconf -z
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
dns_rdata_fromtext: /etc/bind/db.dnsdebian:11: near eol: unexpected end of input
zone dnsdebian/IN: loading from master file /etc/bind/db.dnsdebian failed: unexpected end of input
_default/dnsdebian/IN: unexpected end of input
zone 0.16.172.in-addr.arpa/IN: has no NS records
_default/0.16.172.in-addr.arpa/IN: bad zone
named.conf:
// prime the server with knowledge of the root servers
zone "." {
type hint;
file "/etc/bind/db.root";
};
// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912
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";
};
zone "dnsdebian" IN {
type master;
file "/etc/bind/db.dnsdebian";
};
zone "0.16.172.in-addr.arpa" IN {
type master;
file "/etc/bind/db.dnsdebian.reverse";
};
include "/etc/bind/named.conf.local";
db.dnsdebian:
;
; BIND data file for local loopback interface
;
$TTL 604800
$ORIGIN dnsdebian.
@ IN SOA root.dnsdebian. (
252364 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
IN NS ns1.dnsdebian.
IN MX 5 dnsdebian.
ns1 IN A 172.16.0.2
db.dnsreverse:
;
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA ns1.dnsdebian. root.dnsdebian. (
252364 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
IN NS ns1.dnsdebian.
30 IN PTR ns1.dnsdebian.