From 0191c089f94455f53f3f234c094891353583f64c Mon Sep 17 00:00:00 2001 From: Hard7Rock Date: Tue, 4 May 2021 07:17:44 +0300 Subject: dns: T3277: DNS Forwarding - reverse zones for RFC1918 addresses --- data/templates/dns-forwarding/recursor.conf.tmpl | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'data/templates/dns-forwarding') 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 -- cgit v1.2.3