Fixed DNS templates and added support for Ubuntu 12.04 's way of creating resolv.conf.

This commit is contained in:
aes_ng 2012-11-05 16:53:31 +02:00 committed by Ossi Salmi
parent f72325de30
commit b6d34a1cf2
4 changed files with 18 additions and 1 deletions

View file

@ -5,6 +5,10 @@ zone "<%= zone %>" {
<% else -%>
file "<%= zonedir %>/db.<%= zone %>";
<% end -%>
masters { <%= master %>; };
masters {
<% masters.each_pair do |k, v| -%>
<%= v['ip'] %>;
<% end -%>
};
allow-transfer { none; };
};