Some more work on the dns module. The only thing not working for some reason is the zone.slae.erb for an unknown reason.
This commit is contained in:
parent
da1eef4333
commit
bd4cc55ce1
6 changed files with 50 additions and 45 deletions
|
@ -19,7 +19,11 @@ acl "trusted" {
|
|||
};
|
||||
|
||||
<% dns_zones.each do |zone| -%>
|
||||
include "/etc/bind/zone.<%= zone %>";
|
||||
<% if zone.match(/\//) %>
|
||||
include "/etc/bind/zone.<%= zone.sub(/\//, '-') %>";
|
||||
<% else %>
|
||||
include "/etc/bind/zone.<%= zone %>";
|
||||
<% end -%>
|
||||
<% end -%>
|
||||
|
||||
// Consider adding the 1918 zones here, if they are not used in your
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue