From de3e0e5b743d31fc5e95f84d28885d382d3d1172 Mon Sep 17 00:00:00 2001 From: Alexandre Iooss Date: Sun, 26 Apr 2020 19:36:14 +0200 Subject: [PATCH] Fix missing zone in bind config --- 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 33fd668c..4b689c76 100644 --- a/roles/bind-authoritative/templates/bind/named.conf.local.j2 +++ b/roles/bind-authoritative/templates/bind/named.conf.local.j2 @@ -21,7 +21,7 @@ key "certbot_challenge." { // Let's Encrypt Challenge DNS-01 zone zone "_acme-challenge.crans.org" { type master; - file "bak._acme-challenge.db"; + file "bak._acme-challenge.crans.org"; allow-transfer { {% for ip in slaves_ipv4 -%} {{ ip }}; @@ -31,7 +31,7 @@ zone "_acme-challenge.crans.org" { {% endfor -%} }; update-policy { - grant certbot_challenge. name _acme-challenge.{{ zone }} txt; + grant certbot_challenge. name _acme-challenge.crans.org txt; }; };