From 5f55155ae0addd966993839aa99c2ab9ce4c99d1 Mon Sep 17 00:00:00 2001 From: Manevolent Date: Wed, 12 Apr 2023 18:38:29 -0600 Subject: [PATCH] Update named.conf.tmpl --- bind/named.conf.tmpl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bind/named.conf.tmpl b/bind/named.conf.tmpl index 4f7f9b0..2e422e2 100644 --- a/bind/named.conf.tmpl +++ b/bind/named.conf.tmpl @@ -53,11 +53,13 @@ view "lixonet" { }; # Local forwarding zone +{{ if eq "1" "${bind_forward_enable:-1}" }} zone "{{ "$tinc_peer_name" | replace "_" "." }}" { type forward; forward only; forwarders { ${bind_forward_address-"${internal_gateway}"}; }; }; +{{ end }} # Local reverse zone forwarders {{ if eq "1" "${bind_forward_enable:-1}" }}