Common zone file, on multiple views

Sabri MJAHED (VINC) s.mjahed at vinc.fr
Tue Nov 13 08:46:28 UTC 2018


Hi Tony,

I dont have the -l option on the named-checkconf command.

My version of bind is 9.11

Sabri.

On 12/11/2018 13:09, Tony Finch wrote:
> Sabri MJAHED (VINC) <s.mjahed at vinc.fr> wrote:
>
>> I want to have the same zone on multiple views, but i didn't find any solution
>> that ease the use of this.
> I have scripts that generate in-view configurations. In order to make
> these scripts easier to write, I contributed the `named-checkconf -l`
> feature which lists the configured zones. e.g.
>
> named-checkconf -l | sed '
> / IN common slave/!d
> s// { in-view common; };/
> s/^/zone /
> ' > /etc/bind/in-view.conf
>
> Tony.



More information about the bind-users mailing list