From 2f5de3cfadec3b708b4b332d154b3b619f4d873e Mon Sep 17 00:00:00 2001 From: NEOMorphey Date: Wed, 9 Dec 2020 21:16:04 +0200 Subject: dns: T3121: recursion zone bugfix --- data/templates/dns-forwarding/recursor.forward-zones.conf.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data/templates/dns-forwarding') diff --git a/data/templates/dns-forwarding/recursor.forward-zones.conf.tmpl b/data/templates/dns-forwarding/recursor.forward-zones.conf.tmpl index 90f35ae1c..3ab0c804d 100644 --- a/data/templates/dns-forwarding/recursor.forward-zones.conf.tmpl +++ b/data/templates/dns-forwarding/recursor.forward-zones.conf.tmpl @@ -22,7 +22,7 @@ {% if forward_zones is defined %} # zones added via 'service dns forwarding domain' {% for zone, zonedata in forward_zones.items() %} -{{ "+" if zonedata['recursion_desired'] is defined }}{{ zone }}={{ zonedata['server']|join(', ') }} +{{ "+" if zonedata['recursion_desired'] is defined }}{{ zone | replace('_', '-') }}={{ zonedata['server']|join(', ') }} {% endfor %} {% endif %} -- cgit v1.2.3