Forge Home

dnssec

Module to manage DNS using CHROOT and sign DNSsec zones.

8,416 downloads

7,821 latest version

4.2 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 1.0.1 (latest)
  • 1.0.0
  • 0.0.1
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

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'mtulio-dnssec', '1.0.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add mtulio-dnssec
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install mtulio-dnssec --version 1.0.1

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

mtulio/dnssec — version 1.0.1 Jan 23rd 2016

dnssec

Table of Contents

  1. Overview
  2. Module Description
  3. Setup
  4. Usage
  5. Tests
  6. Limitations
  7. Development
  8. Release Notes

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:

  1. Using default template [zone example.com]
class { '::dnssec': 
  server_type    => 'master',
  dnssec_enabled => 'yes',
}

5. Tests

  1. 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 :

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