trixie/roles/dns-dhcp-tftp/templates/localzones.j2

18 lines
453 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; };
};
zone "intern" {
type master;
notify no;
file "/etc/bind/db.intern";
journal "/var/lib/bind/db.intern.jnl";
2021-04-10 10:09:57 +02:00
allow-update { key rndc-key; };
};