Puppet module to fully manage bind
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
files
lib/facter
manifests
templates
README.markdown

README.markdown

Bind puppet module

A Puppet module to fully manage bind.

There are many bind puppet modules arround but none of those is able to manage a full configuration like creating new zones or dns records. Using this module you will never need to manually edit a zone file again.

As a plus, it can also manage the GeoIP configuration as defined in http://phix.me/geodns/

Usage

This module is quite complex to use as tries to abstract a full bind configuration inside puppep. However, it's fully documented using puppetdoc.

A simple configuration with one test zone:

include bind

class { "bind::options":
    listen_on => "any",
}

include bind::logging

bind::logging::channel { "default_debug":
    channel_type => "file",
    file         => "data/named.run",
    severity     => "dynamic",
}

include bind::geoip

bind::acl { "dns_servers":
    sources => [
                "192.168.1.10",
                "192.168.1.11",
               ]
}

bind::zone { "test.com":
    allow_update => "dns_servers",
    allow_query  => "any",
}

bind::zone::record {
    "www,A,test.com":
        data => "192.168.1.20";
    "mail,A,test.com":
        data => "192.168.1.21";
    "test.com.,MX 10,test.com":
        data => "mail.test.com.";
}

Requirements

Authors

  • Carles Amigo