summaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorHard7Rock <igor_melnyk@ukr.net>2021-05-04 07:17:44 +0300
committerHard7Rock <igor_melnyk@ukr.net>2021-05-04 09:54:00 +0300
commit0191c089f94455f53f3f234c094891353583f64c (patch)
treeb026ad4e9da3b1a5f402f1444972b3a6cff2ec88 /data/templates
parentcf998c040c371be20be8035895989fcee3c06429 (diff)
downloadvyos-1x-0191c089f94455f53f3f234c094891353583f64c.tar.gz
vyos-1x-0191c089f94455f53f3f234c094891353583f64c.zip
dns: T3277: DNS Forwarding - reverse zones for RFC1918 addresses
Diffstat (limited to 'data/templates')
-rw-r--r--data/templates/dns-forwarding/recursor.conf.tmpl6
1 files changed, 6 insertions, 0 deletions
diff --git a/data/templates/dns-forwarding/recursor.conf.tmpl b/data/templates/dns-forwarding/recursor.conf.tmpl
index 8799718b0..cc9612ca8 100644
--- a/data/templates/dns-forwarding/recursor.conf.tmpl
+++ b/data/templates/dns-forwarding/recursor.conf.tmpl
@@ -29,5 +29,11 @@ local-address={{ listen_address | join(',') }}
# dnssec
dnssec={{ dnssec }}
+{# dns: T3277: #}
+{% if serve_rfc1918 is defined and serve_rfc1918 == 'no' %}
+# serve-rfc1918
+serve-rfc1918=no
+{% endif %}
+
forward-zones-file=recursor.forward-zones.conf