Common zone file, on multiple views

Tony Finch dot at dotat.at
Mon Nov 12 12:09:10 UTC 2018


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.
-- 
f.anthony.n.finch  <dot at dotat.at>  http://dotat.at/
oppose all forms of entrenched privilege and inequality


More information about the bind-users mailing list