anchor.diff:    }
   <%- end -%>
   }
  -
  -control {
  -<%- @control.each do |k,v| -%>
  -  <%= k %> <%= v %>;
  -<%- end -%>
  -}
  -
  -log {
  -<%- @log.each do |k,v| -%>
  -  <%= k -%> {
  -  <%- v.each do |y,z| -%>
  -    <%= y %> <%= z %>;
  -  <%- end -%>
  -  }
  -<%- end -%>
  -}
  -
  -<%- if @keys -%>
  -keys {
  -<%- @keys.each do |k,v| -%>
  -  <%= k %> <%= v['algorithm'] %> "<%= v['key'] %>";
  -<%- end -%>
  -}
  -<%- end -%>
   
   <%- if @remotes -%>
   remotes {
  
positive.code: <%- end -%>
  }
  
  zones {
    storage "<%= @zone_storage %>";
  <%- if @dnssec_enable -%>
    dnssec-enable on;
    dnssec-keydir "<%= @dnssec_keydir %>";
  <%- end -%>
  <%- @zone_options.each do |k,v| -%>
    <%= k %> <%= v %>;
  <%- end -%>
    include "<%= @zones_config_file %>";
  }
  
  interfaces {
  <%- @interfaces.each do |k,v| -%>
  
negative.code: <%- end -%>
  }
  <%- end -%>
  
  control {
  <%- @control.each do |k,v| -%>
    <%= k %> <%= v %>;
  <%- end -%>
  }
  
  zones {
    storage "<%= @zone_storage %>";
  <%- if @dnssec_enable -%>
    dnssec-enable on;
    dnssec-keydir "<%= @dnssec_keydir %>";
  <%- end -%>
  <%- @zone_options.each do |k,v| -%>
    <%= k %> <%= v %>;
  <%- end -%>
    include "<%= @zones_config_file %>";
  }
  
  log {
  <%- @log.each do |k,v| -%>
    <%= k -%> {
    <%- v.each do |y,z| -%>
      <%= y %> <%= z %>;
    <%- end -%>
    }
  <%- end -%>
  }
  