Parameterize most of the LAN config

So that it adapts to e.g. 192.168.50/24 instead of 192.168.0/24
This commit is contained in:
Jukka Nousiainen 2021-07-25 00:29:25 +03:00 committed by Andreas B. Mundt
parent 53b54edd18
commit 1a9b3ba2e6
5 changed files with 21 additions and 8 deletions

View file

@ -1,10 +1,10 @@
include "/etc/bind/rndc.key";
zone "0.168.192.in-addr.arpa" {
zone "{{ ipaddr_lan_ptr }}" {
type master;
notify no;
file "/etc/bind/db.192.168.0";
journal "/var/lib/bind/db.192.168.0.jnl";
file "/etc/bind/db.{{ ipaddr_lan_threeoct }}";
journal "/var/lib/bind/db.{{ ipaddr_lan_threeoct }}.jnl";
allow-update { key rndc-key; };
};