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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content