Version information
released Mar 1st 2017
This version is compatible with:
- , ,
Start using this module
Add this module to your Puppetfile:
mod 'aneesh-bind', '1.1.5'
Learn more about managing modules with a PuppetfileDocumentation
aneesh/bind — version 1.1.5 Mar 1st 2017
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:
bind::zone_file { 'example.com.db':
file_name => 'example.com.db',
nameserver => 'ns1.example.com.',
admin => 'admin@example.com.',
ttl => '3600',
serial => '1',
refresh => '3600',
retry => '1800',
expire => '3600',
minimum => '3600',
records => [
'@ IN NS ns1.example.com.',
'@ IN A 192.168.1.105',
'ns1 IN A 192.168.1.105',
'www IN A 192.168.1.105'
],
}
Other variables:
acl => {
'list' => [ 10.128.0.1, 10.128.0.5 ],
},
allow_query => 'localhost',
allow_update => 'none',
allow_transfer => 'none',
recursion => 'no',
blackhole => 'none',
Copyright 2017 Aneesh C Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.