<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<p dir="ltr">On 12 Jan 2014 00:14, Georgy Goshin <georgy.goshin@gmail.com> wrote:<br>
><br>
> Hi,<br>
><br>
> CentOS, 6.5, default bind package bind-9.8.2-0.17.rc1.el6_4.6.x86_64.<br>
><br>
> trying to add slave zone with command rndc addzone "zone.local" '{ type slave; file "slaves/zone.local"; masters { 172.31.199.154; }; };'<br>
><br>
> 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.<br>
><br>
> allow-new-zones yes;<br>
><br>
> tried with chmod 777 for /var/named, /etc/named, /usr/lib64/bind but nothing helps.<br>
><br>
> please advice me a way to find why permission is denied. <br>
><br>
><br>
> thanks in advance.</p>
<p dir="ltr">Hi,</p>
<p dir="ltr">Have you checked if this might be related to SELinux?<br>
</p>
</body>
</html>