From 199ceb1f0a820c838dea6862371a3121b3d9f3a9 Mon Sep 17 00:00:00 2001 From: fvlaicu <19238716+fvlaicu@users.noreply.github.com> Date: Sat, 6 Jan 2024 14:02:11 +0200 Subject: dns: T5900: add dont-throttle-netmasks and serve-stale-extensions powerdns features --- data/templates/dns-forwarding/recursor.conf.j2 | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'data') 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' }} -- cgit v1.2.3