trixie/roles/dnsdhcptftp/templates/localzones.j2

18 lines
495 B
Text
Raw Normal View History

2021-04-10 10:09:57 +02:00
include "/etc/bind/rndc.key";
2021-07-25 09:25:31 +03:00
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";
2021-04-10 10:09:57 +02:00
allow-update { key rndc-key; };
};
2022-06-13 22:59:38 +02:00
zone "{{ ansible_domain }}" {
type master;
notify no;
2022-06-13 22:59:38 +02:00
file "/etc/bind/db.{{ ansible_domain }}";
journal "/var/lib/bind/db.{{ ansible_domain }}.jnl";
2021-04-10 10:09:57 +02:00
allow-update { key rndc-key; };
};