chef-lctp/site-cookbooks/bind/templates/default/named.conf.options.erb

25 lines
625 B
Plaintext

// named.conf.options for <%= @node.name %> managed by Chef. Changes will be overwritten.
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;
};