<commit_before><% @zones.each do |zone| %>

<% if zone.key?('domain') %>
zone "<%= zone.domain %>" IN {
     type master;
     file "/var/lib/bind/zones/<%= zone.domain %>.db";
};
<% end %>

zone "<%= zone.subnet.reverse.join(".") %>.in-addr.arpa" {
     type master;
     file "/var/lib/bind/zones/rev.<%= zone.subnet.reverse.join(".") %>.in-addr.arpa";
};

<% end %>
<commit_msg>fix zone registration templ<commit_after><% @zones.each do |zone| %>

<% if [ :both, :dir ].include?(zone.xtype) %>
zone "<%= zone.domain %>" IN {
     type master;
     file "/var/lib/bind/zones/<%= zone.domain %>.db";
};
<% end %>

<% if [ :both, :rev ].include?(zone.xtype) %>
zone "<%= zone.subnet.reverse.join(".") %>.in-addr.arpa" {
     type master;
     file "/var/lib/bind/zones/rev.<%= zone.subnet.reverse.join(".") %>.in-addr.arpa";
};
<% end %>

<% end %>

{'fraction_non_alphanumeric': 0.26855123674911663, 'fraction_numerical': 0.0, 'mean_word_length': 3.1262135922330097, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 21, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4433193', 'n_tokens_mistral': 357, 'n_tokens_neox': 333, 'n_words': 62}