diff --git a/templates/etc/knot/knot.server.conf.erb b/templates/etc/knot/knot.server.conf.erb index 416b8b9..a827095 100644 --- a/templates/etc/knot/knot.server.conf.erb +++ b/templates/etc/knot/knot.server.conf.erb @@ -61,7 +61,7 @@ remotes { <%- end -%> <%- if @slave_addresses -%> <%- @slave_addresses.each_pair do |iface, key| -%> - <%= key %><%- if iface.include? ':' then -%>-v6<%- else -%>-v4<%- end -%> { + <%= key %><%- if iface.include? ':' then -%>v6<%- else -%>v4<%- end -%> { address <%= iface %>; port 53; key <%= key %>; @@ -72,7 +72,7 @@ remotes { groups { global-slaves { <%- @slave_addresses.each_with_index do |(iface, key), index| -%> - <%= key %><%- if iface.include? ':' then -%>-v6<%- else -%>-v4<%- end -%><%- if index + 1 < @slave_addresses.length %>,<%- end %> + <%= key %><%- if iface.include? ':' then -%>v6<%- else -%>v4<%- end -%><%- if index + 1 < @slave_addresses.length %>,<%- end %> <%- end -%> } }