On Wed, 2012-12-05 at 10:23 +0100, Daniele Imbrogino wrote:
/etc/bind/named.conf.option

On 05.12.12 21:47, Noel Butler wrote:
WTF is that file?  it certainly is not an ISC named file.

It's file containing the options section, installed by default in debian.
From the changelog:

  * Do options definitions in /etc/bind/named.conf.options, makes life
    easier in the face of named.conf changes from upstream.

if you are using some butchered to buggery distros file, please ask on
your distros mailing list
we are not to know what that file contains, or expects

it should only contain the options { }; directive with included options.

The bad part is when someone maintains multiple servers with similar
settings, only the differing options should be included in external file,
with common options in main config file.

debian uses:

- named.conf

// no host-specific options
include "named.conf.options"

- named.conf.options

options {
        listen-on "...";
};


I used instead:

- named.conf:

options {
// common.options
...
include "named.conf.options";
};

- named.conf.options:
// host-specific options
listen-on "...";

--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Christian Science Programming: "Let God Debug It!".
_______________________________________________
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

Reply via email to