On 7/29/2010 7:19 PM, Dan Durrer wrote:
> Alan,
> 
> I was playing around with your example.  I can get it to add the zone
> ( that is no rndc errors or syslog messages).
> 
> I see it send notifies for the new zone in my log.
> 
> 29-Jul-2010 23:06:47.063 notify: info: zone exampledomain.com/IN:
> sending notifies (serial 12)
> 
> I also added the global option  new-zone-file "my_new_zones.dat" and
> I see that file being populated with the new zones statements I've
> added via rndc.
> 
> The server however responds with a REFUSED for this zone or any
> others done via addzone.
> 
> If i take the zone option statement in my_new_zones.dat and apply
> them to named.conf and reconfig it resolves just fine.  Anyone else
> experiencing this?

"include" the my_new_zones.dat into your named.conf... my entire
named.conf on the sample system reads:

====SNIP====
options {
        directory "/etc/namedb";
        dnssec-enable yes;
        dnssec-validation yes;
        new-zone-file "/etc/namedb/managed.zone.list";
        key-directory "/etc/namedb/keys";
};

include "/etc/namedb/zone.list";
====SNIP====

Note that the syntax for this set of tools (dynamic zone creation) is a
bit in flux and may be completely changed between 9.7.2 and 9.7.3. The
functionality will be there, but it might be a bit different in
implementation.. (beware!)

AlanC

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to