blob: 5a5745212a72e5a87e00c3dbaf8e6e8ba9dbc132 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#
# File managed by Puppet. Local changes WILL be overwritter',
#
options {
directory "<%= $dns::directory %>";
forwarders { 8.8.8.8; 8.8.4.4; };
recursion yes;
allow-query { any; };
dnssec-validation yes;
listen-on-v6 { any; };
allow-recursion { localnets; localhost; };
};
<%# Equivalent to what rndc-confgen emits %>
include "<%= $dns::rndc_key_file %>";
controls {
inet 127.0.0.1 port 953 allow { 127.0.0.1; } keys { "rndc-key"; };
};
<%# Include remaining stuff %>
include "<%= $dns::zoneconf_dir %>/*.conf";
include "<%= $dns::keyconf_dir %>/*.conf";
|