rndc addzone, global allow-new-zones, 'file not found'

Tony Finch dot at dotat.at
Wed Dec 11 10:54:30 UTC 2013


Tobias Wolter <tobias.wolter at b1-systems.de> wrote:
>
> # rndc -s localhost -c ~/rndc-localhost.conf addzone metazone. '{type master; file "master/metazone.zone";};'; tail /var/log/messages -n 4
> rndc: 'addzone' failed: file not found
> Dec 11 10:01:15 <hostname> named[21120]: received control channel command 'addzone metazone. {type master; file "master/metazone.zone";};'
> Dec 11 10:01:15 <hostname> named[21120]: zone metazone/IN: loading from master file master/metazone.zone failed: file not found
> Dec 11 10:01:15 <hostname> named[21120]: zone metazone/IN: not loaded due to errors.
> Dec 11 10:01:15 <hostname> named[21120]: addzone failed; reverting.

You need to create the master file (with valid zone contents) before
running rndc addzone.

Tony.
-- 
f.anthony.n.finch  <dot at dotat.at>  http://dotat.at/
Forties, Cromarty: East, veering southeast, 4 or 5, occasionally 6 at first.
Rough, becoming slight or moderate. Showers, rain at first. Moderate or good,
occasionally poor at first.


More information about the bind-users mailing list