Sha256: fc92b2eecfeea74d311b34d058998314a0ae27d64c6651fe31d4bb251199ecdb

Contents?: true

Size: 1.59 KB

Versions: 3

Compression:

Stored size: 1.59 KB

Contents

options {
  directory "/var/cache/bind";

  // If there is a firewall between you and nameservers you want
  // to talk to, you may need to fix the firewall to allow multiple
  // ports to talk.  See http://www.kb.cert.org/vuls/id/800113

  // If your ISP provided one or more IP addresses for stable
  // nameservers, you probably want to use them as forwarders.
  // Uncomment the following block, and insert the addresses replacing
  // the all-0's placeholder.

<% if !@bind[:forwarders].nil? -%>
  forwarders {
<% @bind[:forwarders].flatten.compact.uniq.each do |forwarder| -%>
    <%= forwarder %>;
<% end -%>
  };

<% end -%>
  //========================================================================
  // If BIND logs error messages about the root key being expired,
  // you will need to update your keys.  See https://www.isc.org/bind-keys
  //========================================================================
  dnssec-validation auto;

  auth-nxdomain no;    # conform to RFC1035
  listen-on-v6 { any; };
};

include "/etc/bind/rndc.key";

controls {
  inet 127.0.0.1 allow { 127.0.0.1; } keys { "rndc-key"; };
};

// prime the server with knowledge of the root servers
zone "." {
  type hint;
  file "/etc/bind/db.root";
};

// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912

zone "localhost" {
  type master;
  file "/etc/bind/db.local";
};

zone "127.in-addr.arpa" {
  type master;
  file "/etc/bind/db.127";
};

zone "0.in-addr.arpa" {
  type master;
  file "/etc/bind/db.0";
};

zone "255.in-addr.arpa" {
  type master;
  file "/etc/bind/db.255";
};

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
testlab-1.2.1 lib/testlab/provisioners/templates/bind/bind.erb
testlab-1.2.0 lib/testlab/provisioners/templates/bind/bind.erb
testlab-1.1.0 lib/testlab/provisioners/templates/bind/bind.erb