diff options
author | Christian Breunig <christian@breunig.cc> | 2024-01-06 20:45:46 +0100 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-01-06 19:56:48 +0000 |
commit | 689a26c03a2b32536d2b1226a914e2d029c4f54e (patch) | |
tree | 2a2c8f4a7c095bc1e8783a6ee66bd99b098a26ea /data/templates/dns-forwarding/recursor.conf.j2 | |
parent | 0a2430001e2e4e9a75d802428d9a7f9b56fafd41 (diff) | |
download | vyos-1x-689a26c03a2b32536d2b1226a914e2d029c4f54e.tar.gz vyos-1x-689a26c03a2b32536d2b1226a914e2d029c4f54e.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.
(cherry picked from commit 9baeafa890f7b1d3829df633322fb4288e9ea882)
Diffstat (limited to 'data/templates/dns-forwarding/recursor.conf.j2')
-rw-r--r-- | data/templates/dns-forwarding/recursor.conf.j2 | 4 |
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 %} |