summaryrefslogtreecommitdiff
path: root/templates/unbound.conf.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/unbound.conf.erb')
-rw-r--r--templates/unbound.conf.erb8
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/unbound.conf.erb b/templates/unbound.conf.erb
new file mode 100644
index 00000000..ad93965c
--- /dev/null
+++ b/templates/unbound.conf.erb
@@ -0,0 +1,8 @@
+<% @real_settings.sort.each do |section, settings| -%>
+<%= "#{section}:" %>
+<% settings.sort.each do |key, val| -%>
+<% [val].flatten.each do |val| -%>
+<%= " #{key}: #{val}" %>
+<% end -%>
+<% end %>
+<% end -%>