Git Product home page Git Product logo

puppet-powerdns's Introduction

Yet Another Puppet ::powerdns Module

Puppet Forge Build Status

Table of Contents

  1. Overview
  2. Description
  3. Todo

Overview

This is yet another Puppet module to manage a PowerDNS DNS server. It currently targets the latest stable release of Puppet, and should support both RedHat and Debian family distributions.

Beware that this module will recursively purge your distribution's default PowerDNS configuration.

Description

To use this module, use either an include-like or resource-like declaration:

# An include-like declaration for Hiera integration.
include ::powerdns

# A resource-like declaration for manual overrides.
class { '::powerdns': }

This module is intended to work with Puppet 4.x.

Configuration

All configuration can be handled either through Hiera or by arguments to the powerdns class.

All parameters specific to a backend can be supplied using the options parameter to the class.

Supported PowerDNS Backends

  • MySQL (gmysql)
  • PostgreSQL (gpgsql)
  • SQLite3 (gsqlite3)
  • LMDB (lmdb)
  • Pipe (pipe)
  • TinyDNS (tinydns)

PowerDNS with MySQL (using manifests)

# Install PowerDNS:
class { '::powerdns': }

# Load the MySQL backend:
class { '::powerdns::backend::gmysql':
  host     => '127.0.0.1',
  user     => 'username',
  password => 'password',
  dbname   => 'powerdns',
  port     => '3306',
  dnssec   => 'yes'
}

PowerDNS with PostgreSQL (using Hiera)

# In Hiera configuration:
classes:
  - 'powerdns'
  - 'powerdns::backend::gpgsql'

powerdns::backend::gpgsql::host:     '127.0.0.1'
powerdns::backend::gpgsql::user:     'username'
powerdns::backend::gpgsql::password: 'password'
powerdns::backend::gpgsql::dbname:   'powerdns'
powerdns::backend::gpgsql::port:     5432
powerdns::backend::gpgsql::dnssec:   'no'

Todo

  • Ensure PowerDNS works with SELinux on distributions that use it.
  • Consider supporting a chrooted installation.
  • Extend support to other distributions.

puppet-powerdns's People

Contributors

jmkeyes avatar cjsoftuk avatar mmckinst avatar insertjokehere avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.