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] }}" {
|
2021-04-09 11:20:21 +02:00
|
|
|
type master;
|
|
|
|
notify no;
|
2021-07-25 00:29:25 +03:00
|
|
|
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; };
|
2021-04-09 11:20:21 +02:00
|
|
|
};
|
|
|
|
|
2022-06-13 22:59:38 +02:00
|
|
|
zone "{{ ansible_domain }}" {
|
2021-04-09 11:20:21 +02:00
|
|
|
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; };
|
2021-04-09 11:20:21 +02:00
|
|
|
};
|