"#service named restart" fails with a weird message
Samad Agha
samad.agha2007 at gmail.com
Fri Jun 19 18:12:24 UTC 2015
Hey Gurus,
When I try to restart named, it fails with the following message:
[root at new-dns2 ~]# service named restart
Stopping named: [ OK ]
Starting named:
Error in named configuration:
/etc/named.conf:3: missing ';' before '}'
/etc/named.conf:11: missing ';' before '}'
[FAILED]
[root at new-dns2 ~]#
And here is what my simple named.conf looks like:
[root at new-dns2 ~]# cat /etc/named.conf
options {
directory "/var/named";
allow-recursion {207.151.36.0/24; 206.117.117.0/24};
};
zone "0.0.127.in-addr.arpa" {
type master;
file "db.127.0.0"
};
[root at new-dns2 ~]#
What am I doing wrong? Can you please assist?
Many thanks in advance and have a nice day.
Regards,
Samad Agha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20150619/be97e79a/attachment.html>
More information about the bind-users
mailing list