Wildcards and the include directive?

2012-01-24 Thread Alfie John
Hi guys, I've looked hard but can't find any reference to using wildcards inside an include directive. Does this feature exist in 9? I've found this setup quite useful for other services like Apache etc. What I want to do is be able to configure multiple zones by something like: include "/etc/

Re: Wildcards and the include directive?

2012-01-24 Thread Mark Andrews
In message <20120124082907.gb16...@linode1.alfiejohn.com>, Alfie John writes: > Hi guys, > > I've looked hard but can't find any reference to using wildcards inside > an include directive. Does this feature exist in 9? > > I've found this setup quite useful for other services like Apache etc. >

Re: Wildcards and the include directive?

2012-01-24 Thread SM
At 00:29 24-01-2012, Alfie John wrote: I've looked hard but can't find any reference to using wildcards inside an include directive. Does this feature exist in 9? http://ftp.isc.org/isc/bind9/cur/9.8/doc/arm/Bv9ARM.ch06.html#id2575504 Regards, -sm ___

Re: Wildcards and the include directive?

2012-01-24 Thread Jan-Piet Mens
> include "/etc/bind/sites-enabled/*" That won't work. What you could do though is to create the content of the file you're including, which ought to solve your problem. cd /var/path ls > /etc/bind/sites-enabled.include And then in named.conf [ include "/etc/bind/sites-enabled

Re: Wildcards and the include directive?

2012-01-24 Thread Alfie John
Hi Mark, On Tue, Jan 24, 2012 at 07:48:25PM +1100, Mark Andrews wrote: > Named supports adding and removing zones via rndc. > > rndc addzone > rndc delzone Thanks for the pointer. I didn't know about the rndc commands (the man pages say nothing). However, looking at the onl

Re: Wildcards and the include directive?

2012-01-24 Thread Alfie John
Hi SM, On Tue, Jan 24, 2012 at 12:55:25AM -0800, SM wrote: > At 00:29 24-01-2012, Alfie John wrote: > >I've looked hard but can't find any reference to using wildcards inside > >an include directive. Does this feature exist in 9? > > http://ftp.isc.org/isc/bind9/cur/9.8/doc/arm/Bv9ARM.ch06.html#i

Re: Wildcards and the include directive?

2012-01-24 Thread Alfie John
Hi Jan-Piet, On Tue, Jan 24, 2012 at 09:58:49AM +0100, Jan-Piet Mens wrote: > What you could do though is to create the content of the file you're > including, which ought to solve your problem. > > cd /var/path > ls > /etc/bind/sites-enabled.include > > And then in named.conf [

Re: Wildcards and the include directive?

2012-01-24 Thread Jan-Piet Mens
> the online documentation it says > that addzone will add it to the config files. But after running a test, > all this does is add it to the cache. So does this would mean that every > time the cache is purged, I would have to run addzone again? No. Zones are added to / removed from a .nzf "cache

Re: Entropy hardware [was: dnssec-keygen not responding]

2012-01-24 Thread Jan-Piet Mens
Hello, FWIW and for the record, I received an EntropyKey and have shortly described my experience with it so far at http://dnssexy.net/903 Regards, -JP ___ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this

Re: BIND 9.6-ESV-R6rc1 is now available

2012-01-24 Thread Sergey V. Lobanov
Reload time is really decreased, but named-checkconf utility is still very slow. Is it possible to improve performance for named-checkconf? On 01/20/2012 10:15 PM, Michael McNally wrote: Feature Changes + Improves initial start-up and server reload time by increasing the default size o

Can we stop emitting an error for managed-keys.bind?

2012-01-24 Thread Doug Barton
I know that this has come up in the past, but it came up again, so here I go again. :) If you do not enable dnssec (I hesitate to say "by default," but I believe it is accurate) you get the following: named[10001]: managed-keys-zone ./IN: loading from master file managed-keys.bind failed: file n

Re: Can we stop emitting an error for managed-keys.bind?

2012-01-24 Thread Mark Andrews
It's debug=1 with the current code. if (zone->type == dns_zone_key && result == ISC_R_FILENOTFOUND) level = ISC_LOG_DEBUG(1); In message <4f1f7883.2010...@dougbarton.us>, Doug Barton writes: > I know that this ha

Re: Can we stop emitting an error for managed-keys.bind?

2012-01-24 Thread Evan Hunt
> If you do not enable dnssec (I hesitate to say "by default," but I > believe it is accurate) you get the following: > > named[10001]: managed-keys-zone ./IN: loading from master > file managed-keys.bind failed: file not found 3195. [cleanup] Silence "file not found" warnings when loadi

Re: Can we stop emitting an error for managed-keys.bind?

2012-01-24 Thread Doug Barton
Thanks Mark and Evan for the responses. I think that's the right solution. For fun I just tried started named with no options and an empty named.conf. The other error that happens with that (lack of configuration) is: named[10741]: Warning: 'empty-zones-enable/disable-empty-zone' not set: disabl

Re: Can we stop emitting an error for managed-keys.bind?

2012-01-24 Thread Mark Andrews
In message <4f1f98fe.5080...@dougbarton.us>, Doug Barton writes: > Thanks Mark and Evan for the responses. I think that's the right solution. > > For fun I just tried started named with no options and an empty > named.conf. The other error that happens with that (lack of > configuration) is: > >

Re: Can we stop emitting an error for managed-keys.bind?

2012-01-24 Thread Doug Barton
On 01/24/2012 23:24, Mark Andrews wrote: > In message <4f1f98fe.5080...@dougbarton.us>, Doug Barton writes: >> Thanks Mark and Evan for the responses. I think that's the right solution. >> >> For fun I just tried started named with no options and an empty >> named.conf. The other error that happens

nslookup/dig question

2012-01-24 Thread JeanPaul Thomsin
All, Have two servers. One has BIND8, the other BIND9. Copied over the zone files from the BIND8 server to the BIND9 server, so they are identical. Updated the /etc/resolv.conf file and the named.conf file. When I do an nslookup (from a third server) pointing to the BIND8 server, it works fine