I recently setup a webserver/nameserver and i have apache working great as well as email. I do have a problem with bind however. I have looked everywhere, no luck. I am getting the following error in my logs:
Apr 26 08:38:54 box named[10115]: dns_rdata_fromtext: /var/named/jayde/jaydesdomain.com:12: near 'box.linuxbox.com.': unexpected token
Apr 26 08:38:54 box named[10115]: zone jaydesdomain.com/IN: loading master file /var/named/jayde/jaydesdomain.com: unexpected token
My named.conf entry is below:
zone "jaydesdomain.com" {
type master;
file "/var/named/jayde/jaydesdomain.com";
};
My zone file is below. It is bare, and works with the A and NS records, as soon as I add an MX record or a CNAME it dies:
$TTL 1d
@ IN SOA ns1.linuxbox.net. hostmaster.box.linuxbox.net. (
2002250520 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN A 66.107.116.42
IN NS ns1.linuxbox.net.
IN NS ns2.linuxbox.net.
IN MX jaydesdomain.com.
Any help would greatly be appreciated!
kayla