diff options
Diffstat (limited to 'templates/named.conf.epp')
-rw-r--r-- | templates/named.conf.epp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/templates/named.conf.epp b/templates/named.conf.epp index 9fe10b1..5a57452 100644 --- a/templates/named.conf.epp +++ b/templates/named.conf.epp @@ -1,3 +1,7 @@ +# +# File managed by Puppet. Local changes WILL be overwritter', +# + options { directory "<%= $dns::directory %>"; forwarders { 8.8.8.8; 8.8.4.4; }; @@ -9,3 +13,14 @@ options { 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"; |