BIND9 Errors
Posted: Sun Jan 11, 2009 1:49 am
Hi,
Below are my zone files and i receive the errors as specified.
mysite.org.db
200.19.227.rev
How to correct these errors?
Below are my zone files and i receive the errors as specified.
mysite.org.db
Code: Select all
BIND data file for mysite.org
;
$TTL 604800
@ IN SOA mysite.org. (
2007011501 ; Serial
7200 ; Refresh
120 ; Retry
2419200 ; Expire
604800) ; Default TTL
;
@ IN NS ns1.ns.com.
@ IN NS ns2.ns.com.
mysite.org. IN MX 10 mail.mysite.org.
mysite.org. IN A 200.19.227.135
www IN CNAME mysite.org.
mail IN A 200.19.227.135
ftp IN CNAME mysite.org.
mysite.org. IN TXT "v=spf1 ip4:200.19.227.135 a mx ~all"
mail IN TXT "v=spf1 a -all"
mysite:/etc/bind/zones/master#Code: Select all
;
;dns_rdata_fromtext: mysite.org.db:10: near eol: unexpected end of input
zone mysite.org/IN: loading master file mysite.org.db: unexpected end of input
Code: Select all
mysite:/etc/bind/zones/master# more 200.19.227.rev
$TTL 1d ;
$ORIGIN 227.19.200.IN-ADDR.ARPA.
@ IN SOA ns1.ns.com. (
2007011501
7200
120
2419200
604800
)
IN NS ns1.ns.com.
IN NS ns2.ns.com.
1 IN PTR ns1.ns.com.
2 IN PTR ns2.ns.com.
mysite:/etc/bind/zones/master#
Code: Select all
mysite:/etc/bind/zones/master# named-checkzone mysite.org 200.19.227.rev
200.19.227.rev:3: ignoring out-of-zone data (227.19.200.IN-ADDR.ARPA)
dns_rdata_fromtext: 200.19.227.rev:8: near eol: unexpected end of input
200.19.227.rev:12: ignoring out-of-zone data (1.227.19.200.IN-ADDR.ARPA)
200.19.227.rev:13: ignoring out-of-zone data (2.227.19.200.IN-ADDR.ARPA)
zone mysite.org/IN: loading master file 200.19.227.rev: unexpected end of input