这是我执行/etc/init.d/bind9 restart时遇到的错误
Jun 1 10:43:29 local-dns named[2922]: starting BIND 9.5.1-P1 -u bind Jun 1 10:43:29 local-dns named[2922]: found 1 cpu,using 1 worker thread Jun 1 10:43:29 local-dns named[2922]: using up to 4096 sockets Jun 1 10:43:29 local-dns named[2922]: loading configuration from '/etc/bind/named.conf' Jun 1 10:43:29 local-dns named[2922]: /etc/bind/named.conf.local:13: unexpected end of input Jun 1 10:43:29 local-dns named[2922]: loading configuration: unexpected end of input Jun 1 10:43:29 local-dns named[2922]: exiting (due to fatal error)
这是我的/etc/bind/named.conf.local
$TTL 86400 @ IN SOA ns1.test.com. ( 2006020201 604800 86400 2419200 604800 ) NS ns1 MX 10 mail
无论我做什么,我似乎都无法得到意外的输入错误结束.我在MX记录之后尝试了一行,让MX成为最后一行.我不确定为什么会出现这个错误.有谁知道怎么了?