Use an alternate name for the '.' zone
The root zone's domain is `.` but this means something special in the filesystem which causes an error when creating the zone file.
This commit is contained in:
@@ -9,9 +9,9 @@ zone "<%= @_domain %>" {
|
||||
<%- else -%>
|
||||
key-directory "<%= @cachedir %>/<%= @name %>";
|
||||
<%- end -%>
|
||||
file "<%= @cachedir %>/<%= @name %>/<%= @_domain %>.signed";
|
||||
file "<%= @cachedir %>/<%= @name %>/<%= @zone_file %>.signed";
|
||||
<%- elsif %w(init managed allowed).include? @zone_file_mode -%>
|
||||
file "<%= @cachedir %>/<%= @name %>/<%= @_domain %>";
|
||||
file "<%= @cachedir %>/<%= @name %>/<%= @zone_file %>";
|
||||
<%- end -%>
|
||||
<%- if %w(master slave).include? @zone_type -%>
|
||||
notify <%= @ns_notify ? 'yes' : 'no' %>;
|
||||
|
||||
Reference in New Issue
Block a user