unexpected end of input, bind 9 zones

unexpected end of input, bind 9 zones

Post by CN » Fri, 31 Mar 2006 16:00:12


Hello.
I'm trying to configure bind 9.2.4 and CentOS 4.2. when I try to start
named I get the following error in the log:

[root@redbean named]# tail -f /var/log/messages
Mar 30 15:50:15 redbean named[10023]: command channel listening on
127.0.0.1#953
Mar 30 15:50:15 redbean named[10023]: zone 0.in-addr.arpa/IN: loaded
serial 42
Mar 30 15:50:15 redbean named[10023]: zone 0.0.127.in-addr.arpa/IN:
loaded serial 1997022700
Mar 30 15:50:15 redbean named[10023]: zone 255.in-addr.arpa/IN: loaded
serial 42
Mar 30 15:50:15 redbean named[10023]: zone
0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN:
loaded serial 1997022700
Mar 30 15:50:15 redbean named[10023]: zone localdomain/IN: loaded
serial 42
Mar 30 15:50:15 redbean named[10023]: zone localhost/IN: loaded serial
42
Mar 30 15:50:15 redbean named[10023]: dns_rdata_fromtext:
redbeanz.zone:9: near eol: unexpected end of input
Mar 30 15:50:15 redbean named[10023]: zone redbeanz.net/IN: loading
master file redbeanz.zone: unexpected end of input
Mar 30 15:50:15 redbean named[10023]: running

Here's my zone file.

[root@redbean named]# cat redbeanz.zone
; generated by KIM YongUk < http://www.yqcomputer.com/ >
;
$TTL 86400
@ IN SOA redbeanz.net. (
2006033005 ; Serial
10800 ; Refresh
3600 ; Retry
432000 ; Expire
86400 ) ; Minimum

; Name Server
IN NS ns.redbeanz.net.
IN MX 10 redbeanz.net.
IN A 203.237.228.94

; Host name & Information
ns IN A 203.237.228.94

; Alias
www IN CNAME @
 
 
 

unexpected end of input, bind 9 zones

Post by Joshua Bei » Sat, 01 Apr 2006 01:21:40

You need to include an email address in the SOA. Should look something
like:

@ IN SOA redbeanz.net. foo.redbeanz.net. (

Where the @ in the email address is replaced by a '.'

-Joshua