Update named.conf.tmpl

This commit is contained in:
Manevolent 2023-04-12 18:38:29 -06:00 committed by GitHub
parent 1c236d2fe2
commit 5f55155ae0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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}" }}