Skip to content

fr3nd/puppet-bind

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Puppet module to fully manage bind

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published