From 2bce15ed6e32a65ad3b30dafe66144c7e40cbf07 Mon Sep 17 00:00:00 2001
From: Benjamin Graillot <graillot@crans.org>
Date: Sat, 2 Jan 2021 21:39:59 +0100
Subject: [PATCH] [bind-authoritative] New path for zones

---
 roles/bind-authoritative/templates/bind/named.conf.local.j2 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/roles/bind-authoritative/templates/bind/named.conf.local.j2 b/roles/bind-authoritative/templates/bind/named.conf.local.j2
index ab367594..a91863c7 100644
--- a/roles/bind-authoritative/templates/bind/named.conf.local.j2
+++ b/roles/bind-authoritative/templates/bind/named.conf.local.j2
@@ -108,7 +108,7 @@ zone "{{ zone }}" {
 {% if is_master %}
 	type master;
 	// Apparmor: Need to ln -s /var/cache/bind/generated /var/local/re2o-services/dns/generated
-	file "generated/dns.{{ zone }}.zone";
+	file "generated/{{ zone }}.db";
 	notify yes;
 {% else %}
 	type slave;
@@ -132,7 +132,7 @@ zone "{{ zone }}" {
 {% if is_master %}
 	type master;
 	// Apparmor: Need to ln -s /var/cache/bind/generated /var/local/re2o-services/dns/generated
-	file "generated/dns.{{ zone }}.zone";
+	file "generated/{{ zone }}.db";
 	notify yes;
 {% else %}
 	type slave;
-- 
GitLab