Version information
released Sep 13th 2016
Start using this module
Add this module to your Puppetfile:
mod 'aneesh-bind', '1.0.1'
Learn more about managing modules with a PuppetfileDocumentation
aneesh/bind — version 1.0.1 Sep 13th 2016
BIND Module
Overview
This module install and configure bind dns server.
Usage
Default configuration:
include bind
Change configuration file settings:
class { 'bind':
listen_on => '127.0.0.1',
zone => {
'example.com' => [
'type master',
'file "example.com.db"',
],
},
}
Create zone file:
class { 'bind::zone_file':
file_name => 'example.com.db',
nameserver => 'ns1.example.com.',
admin => 'admin@example.com.',
records => [
'@ IN NS ns1.example.com.',
'@ IN A 127.0.0.1',
'ns1 IN A 127.0.0.1',
],
}