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 0000000..e082ad6
--- /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.each do |val| -%>
+<%= " #{key}: #{val}" %>
+<% end -%>
+<% end %>
+<% end -%>