Added support for master and slave zones.
This commit is contained in:
parent
655a0aaf0e
commit
21ffc24acf
4 changed files with 36 additions and 12 deletions
|
@ -19,13 +19,9 @@ acl "trusted" {
|
|||
};
|
||||
|
||||
<% dns_zones.each do |zone| -%>
|
||||
zone "<%= zone %>" {
|
||||
type master;
|
||||
file "/etc/bind/db.<%= zone %>";
|
||||
};
|
||||
include "/etc/bind/zone.<%= zone %>";
|
||||
<% end -%>
|
||||
|
||||
|
||||
// Consider adding the 1918 zones here, if they are not used in your
|
||||
// organization
|
||||
//include "/etc/bind/zones.rfc1918";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue