chef-lctp/site-cookbooks/bind/templates/default/named.conf.options.erb
2014-01-19 15:34:01 +01:00

24 lines
535 B
Plaintext

acl "trusted" {
<%= @node.bind.trusted_subnets.map {|ip| "#{ip};" }.join(" ") -%>
};
options {
directory "/var/cache/bind";
pid-file "/run/named/named.pid";
auth-nxdomain yes;
datasize default;
listen-on-v6 { any; };
listen-on { any; };
forwarders { <%= @node.bind.forwarders.map {|ip| "#{ip};" }.join(" ") -%> };
allow-query { trusted; };
allow-recursion { trusted; };
allow-query-cache { trusted; };
allow-transfer { none; };
allow-update { none; };
version none;
hostname none;
server-id none;
};