Semicolons! You need one for the second ip range in your list, and you need one after the zone file for your localhost zone. The error message really does tell you what you need in this case ;-) The config you pasted only has nine lines, so I'm assuming that the last error really is on line 8/9 and something got lost in posting to the list.
John On Fri, Jun 19, 2015 at 2:12 PM, Samad Agha <samad.agha2...@gmail.com> wrote: > Hey Gurus, > When I try to restart named, it fails with the following message: > > [root@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@new-dns2 ~]# > > And here is what my simple named.conf looks like: > > [root@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@new-dns2 ~]# > > What am I doing wrong? Can you please assist? > > Many thanks in advance and have a nice day. >
_______________________________________________ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users