Version information
released Jan 23rd 2016
This version is compatible with:
- Puppet Enterprise 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
- Puppet >= 3.0.0 < 5.0.0
- ,
Start using this module
Add this module to your Puppetfile:
mod 'mtulio-dnssec', '1.0.1'
Learn more about managing modules with a PuppetfileDocumentation
mtulio/dnssec — version 1.0.1 Jan 23rd 2016
dnssec
Table of Contents
1. Overview
This module to install and configure DNS server using BIND.
2. Module Description
Module to manage DNS server using BIND.
This module install and configure DNS server using BIND and sign DNSsec zones using script.
Chroot is defined on config file.
The struct of directories and files are:
- /etc/named.conf -> /var/named/chroot/etc/named.conf : Main config file.
- /etc/named/acl.conf -> /var/named/chroot/etc/named/acl.conf : Access control list.
- /etc/named/key.conf -> /var/named/chroot/etc/named/key.conf : Keys management.
- /etc/named/logging.conf -> /var/named/chroot/etc/named/logging.conf : Configuration of loggins and channels
- /etc/named/zones.conf -> /var/named/chroot/etc/named/zones.conf : Zones configuration.
- /var/named/chroot/var/named/master/zones : Zones files
- /var/named/chroot/var/named/master/zones/keys : Zones keys, if dnssec is enabled
- /var/named/chroot/var/named/default : Default zones files - localhost, hint, etc
3. Setup
See Usage
What module affects
- This module module will install Bind9, copy configuration files to chroot directory, copy zones to zones directory, and sign zones.
Setup Requirements
- Firewall module: puppetlabs-firewall (v1.1.3)
Beginning
This is a great module to configure BIND server. Now the configuration is static in pools of configuration or the templates. But soon you will configure all the configuration options at declaration of class.
4. Usage
You have three ways to usage the class:
- Using default template [zone example.com]
class { '::dnssec':
server_type => 'master',
dnssec_enabled => 'yes',
}
5. Tests
- Check BIND version
# dig @127.0.0.1 -c CH -t txt version.bind +short
6. Limitations
OS compatibility [tested]:
- Red Hat family 7+
We're working to support more OS.
7. Development
See project page at :
- Github: https://github.com/mtulio/puppet-mod-dnssec
- Puppet forge: https://forge.puppetlabs.com/mtulio/dnssec
8. Release Notes
[1.0.1]
- Fix metadata dependences
[1.0.0]
- Add dnssec support to be configured from templates
- Add script to sign zones
- Fix directories of templates
- Fix bugs on 'example' zone
[0.0.1]
- Initial version, basic bind configuration
Dependencies
- puppetlabs-stdlib (>= 4.10.0)
- puppetlabs-firewall (>= 1.1.3)