Added support for master and slave zones.

This commit is contained in:
Jussi 2012-01-19 12:34:52 +02:00 committed by Timo Mkinen
parent 655a0aaf0e
commit 21ffc24acf
4 changed files with 36 additions and 12 deletions

View file

@ -0,0 +1,9 @@
zone "<%= zone %>" {
type slave;
file "/var/cache/bind/db.<%= zone %>";
masters {
<% master.each do |m| -%>
<%= m['ipaddr'] %>;
<% end -%>
};
};