diff options
-rw-r--r-- | data/templates/dns-forwarding/recursor.conf.tmpl | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/data/templates/dns-forwarding/recursor.conf.tmpl b/data/templates/dns-forwarding/recursor.conf.tmpl index 672080d63..9e0ad5d17 100644 --- a/data/templates/dns-forwarding/recursor.conf.tmpl +++ b/data/templates/dns-forwarding/recursor.conf.tmpl @@ -29,14 +29,8 @@ local-address={{ listen_address | join(',') }} # dnssec dnssec={{ dnssec }} -{# dns: T3277: #} -{% if no_serve_rfc1918 is defined %} -# serve-rfc1918 -serve-rfc1918=no -{% else %} -# serve-rfc1918 -serve-rfc1918=yes -{% endif %} +# serve rfc1918 records +serve-rfc1918={{ 'no' if no_serve_rfc1918 is defined else 'yes' }} forward-zones-file=recursor.forward-zones.conf |