Fix bind configuration.

This commit is contained in:
Andreas B. Mundt 2022-06-13 22:59:38 +02:00 committed by Andreas B. Mundt
parent b0e34434b1
commit a5e143b900
6 changed files with 14 additions and 17 deletions

View file

@ -8,10 +8,10 @@ zone "{{ ipaddr_lan_ptr[:-1] }}" {
allow-update { key rndc-key; };
};
zone "intern" {
zone "{{ ansible_domain }}" {
type master;
notify no;
file "/etc/bind/db.intern";
journal "/var/lib/bind/db.intern.jnl";
file "/etc/bind/db.{{ ansible_domain }}";
journal "/var/lib/bind/db.{{ ansible_domain }}.jnl";
allow-update { key rndc-key; };
};