Forge Home

unbound

This module sets up a recursive DNS service with root hints using the unbound package.

4,595 downloads

3,713 latest version

5.0 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

  • 0.2.2 (latest)
  • 0.2.1
  • 0.2.0
  • 0.1.0
released Jul 30th 2019
This version is compatible with:
  • Puppet Enterprise 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x, 2018.1.x, 2017.3.x, 2017.2.x, 2016.4.x
  • Puppet >= 4.10.0 < 7.0.0
  • , , , , ,

Start using this module

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

Add this module to your Puppetfile:

mod 'tsaterdal-unbound', '0.2.2'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add tsaterdal-unbound
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install tsaterdal-unbound --version 0.2.2

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

tsaterdal/unbound — version 0.2.2 Jul 30th 2019

unbound

This module manages unbound DNS.

Table of Contents

  1. Description
  2. Setup - The basics of getting started with unbound
  3. Usage - Configuration options and additional functionality
  4. Limitations - OS compatibility, etc.
  5. Development - Guide for contributing to the module

Description

This module provides a recursive DNS server using the unbound service. It can be used a a simple outbound resolver in the infrastructure, and also with custom private subdomains. See Usage for examples.

Setup

What unbound affects

Beginning with unbound

The very basic steps needed for a user to get the module up and running. This can include setup steps, if necessary, or it can be an example of the most basic use of the module.

Usage

If you want to host a custom subdomain on a authorative dns server, additional configuration is supplied such:

class profile::unbound {
  include unbound
  unbound::config { 'example.com':
    content  => template('profile/unbound/example.com.epp'),
  }
}

The additional config is set up as:

example.com.epp, under templates in your control repo


server:
    verbosity: 3
    log-queries: yes
  log-replies: yes

  #Add local zones here
    access-control: 10.0.0.0/24 allow
    access-control: ::ffff:a00:0/64 allow
  
    private-domain: "example.com"

    insecure-lan-zones: yes

    local-zone: "10.in-addr.arpa." nodefault

forward-zone:
    name: "10.in-addr.arpa"
    forward-addr: 10.0.0.254

Limitations

Development

This module is under development, and further features will be added