3 msgSlave DNS server not taking over.
4 msgTLD wildcard doesn't always work
20 msgbind replication between sites
2 msgLeast expensive, most robust infrastructure

include files in named.conf.local
\ Thijs Koetsier (19 Jul 2006)
. \ Thijs Koetsier (19 Jul 2006)
. . \ Kevin Darcy (19 Jul 2006)
. \ Stephane Bortzmeyer (19 Jul 2006)

2 msgNewbie: Multiple Domains
20 msgHost = domain
2 msgUnexpected Token? SERVFAIL?
2 msgBIND 9.3.2 and Solaris 10 zones
3 msgConfiguring Absolute minimum TTL in BIND-8.4.7
13 msgbuilding a DNS system
2 msgDynamic Reverse Configuration
3 msgResolve single word names?
9 msgHow to override an A record
8 msgRound-robin for high availability?
8 msgCache poisoning
7 msgStrange / Frustrating Caching Problems
8 msgName Servers
4 msgWhy is slave zone different from master zone..?
1 msgBind - named exiting (due to assertion failure)
Subject:Re: include files in named.conf.local
Group:Bind-users
From:Kevin Darcy
Date:19 Jul 2006


 
Thijs Koetsier wrote:
> Hi all,
>
> Maybe I've been looking for this in the wrong place, but I haven't found an
> answer yet. So, please excuse me if this is answered many times before.
>
> Is it possible to include files into the named.conf.local (local bind
> configuration) file? I know that single files can be included (include
> "/etc/bind/zones.rfc1918";), but can it also be done for all files in one
> folder?
>
> In my named.conf.local (Debian), I have, like most of us, numerous entries
> like this:
>
> zone "example.com" {
> type master;
> file "/etc/bind/zones/example.com";
> };
>
> I would like to have files in a folder, eg. /etc/bind/local/example.com, in
> which the above four lines are placed in the file 'example.com'. In my
> named.conf.local I would like to put something like Apache is using:
> Include /etc/apache2/sites-enabled/[^.#]*
>
> Whenever I try modifications on that, bind9 won't take it. Does anyone know
> if this method is possible in any way and if so; how can it be done?
>
BIND has an include-file mechanism, but it takes an explicit pathname;
it doesn't support wildcards/globs/regexps.

- Kevin





© 2004-2008 readlist.com