summaryrefslogtreecommitdiff
path: root/data/templates/dns-forwarding
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-01-06 20:45:46 +0100
committerChristian Breunig <christian@breunig.cc>2024-01-06 20:48:59 +0100
commit9baeafa890f7b1d3829df633322fb4288e9ea882 (patch)
treea59fa3bfd03b2901b2aa1d67585772222717ba05 /data/templates/dns-forwarding
parent199ceb1f0a820c838dea6862371a3121b3d9f3a9 (diff)
downloadvyos-1x-9baeafa890f7b1d3829df633322fb4288e9ea882.tar.gz
vyos-1x-9baeafa890f7b1d3829df633322fb4288e9ea882.zip
dns: T5900: fix smoketests for serve-stale-extension and exclude-throttle-address
This fixes commit 199ceb1f0a ("dns: T5900: add dont-throttle-netmasks and serve-stale-extensions powerdns features") where after the latest review round the Jinja2 template was inconsitently changed and smoketests were not re-run.
Diffstat (limited to 'data/templates/dns-forwarding')
-rw-r--r--data/templates/dns-forwarding/recursor.conf.j24
1 files changed, 2 insertions, 2 deletions
diff --git a/data/templates/dns-forwarding/recursor.conf.j2 b/data/templates/dns-forwarding/recursor.conf.j2
index deeb250f0..55b37732b 100644
--- a/data/templates/dns-forwarding/recursor.conf.j2
+++ b/data/templates/dns-forwarding/recursor.conf.j2
@@ -40,12 +40,12 @@ dnssec={{ dnssec }}
dns64-prefix={{ dns64_prefix }}
{% endif %}
-{% if dont_throttle_netmasks is vyos_defined %}
+{% if exclude_throttle_address is vyos_defined %}
# dont-throttle-netmasks
dont-throttle-netmasks={{ exclude_throttle_address | join(',') }}
{% endif %}
-{% if serve_stale_extensions is vyos_defined %}
+{% if serve_stale_extension is vyos_defined %}
# serve-stale-extensions
serve-stale-extensions={{ serve_stale_extension }}
{% endif %}