diff --git a/bind/named.conf.tmpl b/bind/named.conf.tmpl index 8eddcc6..4f7f9b0 100644 --- a/bind/named.conf.tmpl +++ b/bind/named.conf.tmpl @@ -11,10 +11,10 @@ options { directory "/var/cache/bind"; listen-on { any; }; - +{{ if eq "1" "${bind_forward_enable:-1}" }} forward only; forwarders { ${bind_forward_address-"${internal_gateway}"}; }; - +{{ end }} dnssec-validation no; };