Everything done but when I am trying to start the DNS, it gives me an error
[root@linux3 etc]# service named restart
Stopping named: [ OK ]
Starting named:
Error in named configuration:
/etc/named.conf:42: when using 'view' statements, all zones must be in views
[FAILED]
[root@linux3 etc]#
---------- Post updated at 08:34 AM ---------- Previous update was at 08:29 AM ----------
Hi ,
This issue get resolved ...
via this
view localhost_resolver {
match-clients { localhost; };
match-destinations { localhost; };
recursion yes;
include "/etc/named.rfc1912.zones";
zone "loop.net" IN {
type master;
file "loop.net.zone";
allow-update { none; };
};
zone "228.141.10.in-addr.arpa" IN {
type master;
file "228.141.10.rev";
allow-update { none; };
};
};
But now I am in new mess .... While going to start DNS i got this error in /var/log/messages ..
Dec 2 18:54:33 linux3 named[28432]: starting BIND 9.3.6-P1-RedHat-9.3.6-16.P1.el5_7.1 -u named -t /var/named/chroot
Dec 2 18:54:33 linux3 named[28432]: found 1 CPU, using 1 worker thread
Dec 2 18:54:33 linux3 named[28432]: using up to 4096 sockets
Dec 2 18:54:33 linux3 named[28432]: loading configuration from '/etc/named.conf'
Dec 2 18:54:33 linux3 named[28432]: none:0: open: /etc/named.conf: permission denied
Dec 2 18:54:33 linux3 named[28432]: loading configuration: permission denied
Dec 2 18:54:33 linux3 named[28432]: exiting (due to fatal error)
---------- Post updated at 09:44 AM ---------- Previous update was at 08:34 AM ----------
For the benefit of future struggling googlers, how was this issue resolved? Only thing more annoying than googling a problem and finding an unanswered question is finding a problem that was solved but gives no information on how