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

Tobias Wolter tobias.wolter at b1-systems.de
Wed Dec 11 10:02:57 UTC 2013


Hello there,

I'm currently experiencing a bit of a problem with the experimental
addzone stuff. I'm on 9.9.3-P2.

I've set allow-new-zones to yes in options, and toggled
permit-empty-zones around to no avail.

My problem is that a simple addzone fails by either complaining that
the file parameter is lacking (when not specifying one), or not being
able to access the file (if specified):

# rndc -s localhost -c ~/rndc-localhost.conf addzone metazone. '{type master;};'; tail /var/log/messages -n 2
rndc: 'addzone' failed: failure
Dec 11 10:00:31 <hostname> named[21120]: received control channel command 'addzone metazone. {type master;};'
Dec 11 10:00:31 <hostname> named[21120]: zone 'metazone.': 'file' not
specified

# 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.

From my understanding, though, the relevant configuration options should allow creating new zones on the fly?

Any hints? (I'm a bit wary of wading through the code.)

-towo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20131211/c19a6808/attachment.bin>


More information about the bind-users mailing list