diff --git a/templates/zone_record.erb b/templates/zone_record.erb index 45f917ca..e9216ba8 100644 --- a/templates/zone_record.erb +++ b/templates/zone_record.erb @@ -4,5 +4,5 @@ data_a = @data.is_a?(String) ? @data.lines.to_a : @data data_a.each do |data_item| -%> -<%= @host %> <%= @ttl %> <%= @dns_class %> <%= @record.upcase %><%= @record.upcase == 'MX' ? " #{preference}" : '' %> <%= delimiter %><%= data_item %><%= delimiter %> +<%= @host %> <%= @ttl %> <%= @dns_class %> <%= @record.upcase %><%= @record.upcase == 'MX' ? " #{@preference}" : '' %> <%= delimiter %><%= data_item %><%= delimiter %> <% end -%>