rndc: 'addzone' failed: permission denied

Frank Bulk frnkblk at iname.com
Wed Aug 17 20:33:47 UTC 2011

Would be nice if the error output or log would indicate such failures.


-----Original Message-----
From: bind-users-bounces+frnkblk=iname.com at lists.isc.org
[mailto:bind-users-bounces+frnkblk=iname.com at lists.isc.org] On Behalf Of
Tony Finch
Sent: Wednesday, August 17, 2011 9:31 AM
To: Fredrik Poller
Cc: bind-users at lists.isc.org
Subject: RE: rndc: 'addzone' failed: permission denied

To use `rndc addzone`, named needs to be able to write to the zone
configuration file in its working directory, called 3bf305731dd26307.nzf
for the _default view. Both named and the user invoking rndc need to be
able to read the rndc.key file which is usually in /etc. You need to
create the zone's master file on disk (and any keys etc.) before running
`rndc addzone`.

f.anthony.n.finch  <dot at dotat.at>  http://dotat.at/
South-east Iceland: Cyclonic 3 or 4, increasing 5 or 6 for a time in north.
Slight or moderate. Rain. Moderate or good, occasionally poor.
Please visit https://lists.isc.org/mailman/listinfo/bind-users to
unsubscribe from this list

bind-users mailing list
bind-users at lists.isc.org

More information about the bind-users mailing list