Include default zones regardless of recursion
This commit is contained in:
parent
0a383a49fe
commit
6800ca9ebc
@ -15,11 +15,9 @@ view "<%= name %>" {
|
||||
};
|
||||
<%- end -%>
|
||||
recursion <%= recursion ? 'yes' : 'no' %>;
|
||||
<%- if recursion -%>
|
||||
<%- if scope.lookupvar('osfamily') == 'Debian' -%>
|
||||
include "<%= confdir %>/named.conf.default-zones";
|
||||
<%- end -%>
|
||||
<%- end -%>
|
||||
|
||||
<%- zones.each do |zone| -%>
|
||||
include "<%= confdir %>/zones/${zone}.conf";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user