rndc addzone gets permission denied

Mikael Johansson Mikael.Johansson at addpro.se
Sun Jan 12 00:11:31 UTC 2014


On 12 Jan 2014 00:14, Georgy Goshin <georgy.goshin at gmail.com> wrote:
>
> Hi,
>
> CentOS, 6.5, default bind package bind-9.8.2-0.17.rc1.el6_4.6.x86_64.
>
> trying to add slave zone with command rndc addzone "zone.local" '{ type slave; file "slaves/zone.local"; masters { 172.31.199.154; }; };'
>
> 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.
>
> allow-new-zones yes;
>
> tried with chmod 777 for /var/named, /etc/named, /usr/lib64/bind but nothing helps.
>
> please advice me a way to find why permission is denied.
>
>
> thanks in advance.

Hi,

Have you checked if this might be related to SELinux?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20140112/8ab89810/attachment.html>


More information about the bind-users mailing list