In message <20131211110257.60d3bb74@loki>, Tobias Wolter writes: > > 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.)
Yes, create the initial zone contents and put it in master/metazone.zone. Mark > -towo > -- Mark Andrews, ISC 1 Seymour St., Dundas Valley, NSW 2117, Australia PHONE: +61 2 9871 4742 INTERNET: ma...@isc.org _______________________________________________ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users