diff options
author | NEOMorphey <neomorphey@gmail.com> | 2020-12-09 21:16:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-09 20:16:04 +0100 |
commit | 2f5de3cfadec3b708b4b332d154b3b619f4d873e (patch) | |
tree | a01240b41d08c8dfe66ad434fa3910ef11945c7c /data | |
parent | 9f5f31ed15d6187694ecb29f51919151d9817ec4 (diff) | |
download | vyos-1x-2f5de3cfadec3b708b4b332d154b3b619f4d873e.tar.gz vyos-1x-2f5de3cfadec3b708b4b332d154b3b619f4d873e.zip |
dns: T3121: recursion zone bugfix
Diffstat (limited to 'data')
-rw-r--r-- | data/templates/dns-forwarding/recursor.forward-zones.conf.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
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 %} |