Update named.conf.tmpl
This commit is contained in:
parent
2153504071
commit
af8a804568
@ -53,20 +53,26 @@ view "lixonet" {
|
||||
allow-query { none; };
|
||||
};
|
||||
|
||||
# Self zone
|
||||
# Local forwarding zone
|
||||
zone "{{ "$tinc_peer_name" | replace "_" "." }}" {
|
||||
type forward;
|
||||
forward only;
|
||||
forwarders { ${bind_forward_address-"${internal_gateway}"}; };
|
||||
};
|
||||
|
||||
# Forwarders
|
||||
# Peer forwarding zones
|
||||
{{ range files "bind/peers" }} {{ if ne . "${tinc_peer_name}" }}
|
||||
zone "{{ . | replace "_" "." }}" {
|
||||
type forward;
|
||||
forward only;
|
||||
{{ include (print "bind/peers/" .) }}
|
||||
};{{ end }}{{ end }}
|
||||
|
||||
# Custom mesh zones
|
||||
{{ range files "bind/zones" }}
|
||||
zone "{{ . | replace "_" "." }}" {
|
||||
{{ include (print "bind/zones/" .) }}
|
||||
};{{ end }}
|
||||
};
|
||||
|
||||
view "default" {
|
||||
|
Loading…
x
Reference in New Issue
Block a user