Re: Dynamically add zones

2010-07-30 Thread Dan Durrer
options { ... new-zone-file "/etc/named.d/new_zones.list"; }; include "/etc/named.d/new_zones.list"; ## new_zones.list zone mynewzone.com { type slave; file "mynewzone.com"; masters { 1.1.1.1; }; }; script rndc_addzone.sh --- #!/bin/bash echo "Adding Zone" ${1} cd /var/nam

Re: Dynamically add zones

2010-07-30 Thread Evan Hunt
> If I run reconfig it will start answering queries, but I'm guessing that > is because its just re-reading the include from new-zone-file. Am I > missing something here? That sounds likely. Can I see your named.conf and the exact configuration text you're sending via addzone, so I can try to r

Re: Dynamically add zones

2010-07-30 Thread Dan Durrer
Still not getting this to work just right, refused queries to newly added zones. If I config the zone as a master or as a slave it adds with a success from rndc. Logs show sending notfies as master or completed zone transfer and zone system file creation if slave. Query to the newly added zo

Re: Dynamically add zones

2010-07-30 Thread Evan Hunt
> 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. For that matter, I expect it to change significantly before the final release of 9.7.2. -- Evan Hunt -- e...@isc.org Internet Systems Consortium, Inc. __

Re: Dynamically add zones

2010-07-30 Thread Dan Durrer
Do you guys have any hints yet on what it might look like or are you still looking for recommendations? Dan Durrer No-IP On Jul 30, 2010, at 10:44 AM, Evan Hunt wrote: >> Note that the syntax for this set of tools (dynamic zone creation) is a >> bit in flux and may be completely change

RE: Dynamically add zones

2010-07-30 Thread Jack Tavares
> > In message <4c5220c1.7060...@isc.org>, Alan Clegg writes: > > > Will this functionality be available through an api? > > > Or will it just be through rndc ? > > > > Not sure what API we would use beyond rndc. If you have > > recommendations, please e-mail me directly or give me a phone call >

RE: Dynamically add zones

2010-07-30 Thread Jack Tavares
..@isc.org] Sent: Friday, July 30, 2010 01:53 To: Alan Clegg Cc: bind-users@lists.isc.org Subject: Re: Dynamically add zones In message <4c5220c1.7060...@isc.org>, Alan Clegg writes: > > Will this functionality be available through an api? > > Or will it just be through rndc ? &g

Re: Dynamically add zones

2010-07-30 Thread Mark Andrews
In message <4c5220c1.7060...@isc.org>, Alan Clegg writes: > > Will this functionality be available through an api? > > Or will it just be through rndc ? > > Not sure what API we would use beyond rndc. If you have > recommendations, please e-mail me directly or give me a phone call > (+1-919-355-

Re: Dynamically add zones

2010-07-29 Thread Alan Clegg
On 7/29/2010 8:45 PM, Alan Clegg wrote: > (+1-919-355-885) and let's talk about it... +1-919-355-8851 (I seem to have been "off by one"). AlanC signature.asc Description: OpenPGP digital signature ___ bind-users mailing list bind-users@lists.isc.

Re: Dynamically add zones

2010-07-29 Thread Alan Clegg
On 7/29/2010 5:38 PM, Jack Tavares wrote: > Will this functionality be available through an api? > Or will it just be through rndc ? Not sure what API we would use beyond rndc. If you have recommendations, please e-mail me directly or give me a phone call (+1-919-355-885) and let's talk about it

Re: Dynamically add zones

2010-07-29 Thread Dan Durrer
Alan, So is managed.zone.list and zone.list named differently on purpose or is that a typo? Dan On Jul 29, 2010, at 5:23 PM, Alan Clegg wrote: > 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

Re: Dynamically add zones

2010-07-29 Thread Alan Clegg
On 7/29/2010 8:23 PM, Alan Clegg wrote: > 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/zo

Re: Dynamically add zones

2010-07-29 Thread Alan Clegg
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: >

Re: Dynamically add zones

2010-07-29 Thread Dan Durrer
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 o

RE: Dynamically add zones

2010-07-29 Thread Jack Tavares
> From: bind-users-bounces+j.tavares=f5@lists.isc.org [mailto:bind- > users-bounces+j.tavares=f5@lists.isc.org] On Behalf Of Evan Hunt > Sent: Thursday, July 29, 2010 1:24 AM > To: Mike Flathers > Cc: bind-users@lists.isc.org > Subject: Re: Dynamically add zones > >

Re: Dynamically add zones

2010-07-29 Thread Mike Flathers
Alan/ Evan, Thanks didn't get to reading the beta release notes yet. Wow, how timely is this :) Thanks -m On Wed, Jul 28, 2010 at 8:08 PM, Alan Clegg wrote: > On 7/28/2010 10:41 PM, Mike Flathers wrote: > > > Is there a patch for bind 9 to add new zones dynamically without > > having to run

Re: Dynamically add zones

2010-07-29 Thread Evan Hunt
> Is there a patch for bind 9 to add new zones dynamically without > having to run rndc reconfig? This feature is being added in BIND 9.7.2. It's available now in the beta version, 9.7.2b1. -- Evan Hunt -- e...@isc.org Internet Systems Consortium, Inc. ___

Re: Dynamically add zones

2010-07-28 Thread Alan Clegg
On 7/28/2010 10:41 PM, Mike Flathers wrote: > Is there a patch for bind 9 to add new zones dynamically without > having to run rndc reconfig? The server stops answering queries when > reconfig is loading in the new config as the config grows this timeout > increases. I haven't hit the source cod

Dynamically add zones

2010-07-28 Thread Mike Flathers
Hey guys, It looks like bind 10 will address this, but I might as well check here. Is there a patch for bind 9 to add new zones dynamically without having to run rndc reconfig? The server stops answering queries when reconfig is loading in the new config as the config grows this timeout increase