diff options
author | Christian Breunig <christian@breunig.cc> | 2024-01-06 13:06:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-06 13:06:11 +0100 |
commit | 0a2430001e2e4e9a75d802428d9a7f9b56fafd41 (patch) | |
tree | 9907c9c71ab63746955a49c3ff1f70e5dedc044d /data/templates | |
parent | 09dea9fc44dc19181ce24cec42b49f19a4605a3e (diff) | |
parent | 132087a4b266deb197f86de3fc1131be7a07504c (diff) | |
download | vyos-1x-0a2430001e2e4e9a75d802428d9a7f9b56fafd41.tar.gz vyos-1x-0a2430001e2e4e9a75d802428d9a7f9b56fafd41.zip |
Merge pull request #2759 from vyos/mergify/bp/sagitta/pr-2757
T5900 dns forwarding: reliability improvements (backport #2757)
Diffstat (limited to 'data/templates')
-rw-r--r-- | data/templates/dns-forwarding/recursor.conf.j2 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/data/templates/dns-forwarding/recursor.conf.j2 b/data/templates/dns-forwarding/recursor.conf.j2 index ea700406c..deeb250f0 100644 --- a/data/templates/dns-forwarding/recursor.conf.j2 +++ b/data/templates/dns-forwarding/recursor.conf.j2 @@ -40,6 +40,16 @@ dnssec={{ dnssec }} dns64-prefix={{ dns64_prefix }} {% endif %} +{% if dont_throttle_netmasks is vyos_defined %} +# dont-throttle-netmasks +dont-throttle-netmasks={{ exclude_throttle_address | join(',') }} +{% endif %} + +{% if serve_stale_extensions is vyos_defined %} +# serve-stale-extensions +serve-stale-extensions={{ serve_stale_extension }} +{% endif %} + # serve rfc1918 records serve-rfc1918={{ 'no' if no_serve_rfc1918 is vyos_defined else 'yes' }} |