summaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorfvlaicu <19238716+fvlaicu@users.noreply.github.com>2024-01-06 14:02:11 +0200
committerGitHub <noreply@github.com>2024-01-06 13:02:11 +0100
commit199ceb1f0a820c838dea6862371a3121b3d9f3a9 (patch)
tree14ba032882bbafd3eaf3c07a3c36a64604e408bb /data/templates
parentfb4b97b1824b5e6aab4cf7c810ea69897ea6300f (diff)
downloadvyos-1x-199ceb1f0a820c838dea6862371a3121b3d9f3a9.tar.gz
vyos-1x-199ceb1f0a820c838dea6862371a3121b3d9f3a9.zip
dns: T5900: add dont-throttle-netmasks and serve-stale-extensions powerdns features
Diffstat (limited to 'data/templates')
-rw-r--r--data/templates/dns-forwarding/recursor.conf.j210
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' }}