<div dir="ltr">Hi,<div><br></div><div>CentOS, 6.5, default bind package bind-9.8.2-0.17.rc1.el6_4.6.x86_64.</div><div><br></div><div>trying to add slave zone with command rndc addzone "zone.local" '{ type slave; file "slaves/zone.local"; masters { 172.31.199.154; }; };'</div>
<div><br></div><div>but getting rndc: 'addzone' failed: permission denied, nothing on the logs, only received control channel command 'addzone zone.local { type slave; file "slaves/zone.local"; masters { 172.31.199.154; }; };' even after rndc trace 99.</div>
<div><br></div><div>allow-new-zones yes;<br></div><div><br></div><div>tried with chmod 777 for /var/named, /etc/named, /usr/lib64/bind but nothing helps.</div><div><br></div><div>please advice me a way to find why permission is denied. </div>
<div><br></div><div><br></div><div>thanks in advance.</div></div>