SELinux AVC denial when adding zones in BIND DNS server

Solution Verified - Updated -

Issue

Configured DNS server with clause allowing remote zone creation, defining the option allow-new-zones yes;.

When creating new zones in ISC BIND DNS server using the rndc tool, it fails with the following error:

rndc: 'addzone' failed: permission denied

Environment

  • Red Hat Enterprise Linux Server 7
  • bind-9.9.4-51.el7.x86_64

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.