Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Puppet Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
manifests
templates/named.conf
tests
Modulefile
README.md
Rakefile

README.md

puppet-bind

A module to manage bind9. Tested on Debian (squeeze).

Example usage

See tests/init.pp.

class { 'bind':
  forwarders => ['4.4.4.4', '8.8.8.8']
}

bind::key { 'rndc':
  secret  => 'foo',
  target  => "${bind::params::confdir}/rndc.key"
}

bind::zone { 'example.com':
  nameservers => ['127.0.0.1', '127.0.0.2'],
  options     => {
    'type'            => 'master',
    'allow-transfer'  => '{ 127.0.0.1; }',
    'allow-update'    => '{ 127.0.0.1; key rndc; }'
  }
}

bind::zone::record { 'test.example.com':
  zone  => 'example.com',
  key   => 'test',
  value => '127.0.0.1'
}
Something went wrong with that request. Please try again.