lmn-client/roles/dnsdhcptftp/templates/localzones.j2
2023-02-07 19:18:57 +01:00

17 lines
495 B
Django/Jinja

include "/etc/bind/rndc.key";
zone "{{ ipaddr_lan_ptr[:-1] }}" {
type master;
notify no;
file "/etc/bind/db.{{ ipaddr_lan_threeoct }}";
journal "/var/lib/bind/db.{{ ipaddr_lan_threeoct }}.jnl";
allow-update { key rndc-key; };
};
zone "{{ ansible_domain }}" {
type master;
notify no;
file "/etc/bind/db.{{ ansible_domain }}";
journal "/var/lib/bind/db.{{ ansible_domain }}.jnl";
allow-update { key rndc-key; };
};