Installs and manages an ISC BIND DNS server with zones
Ruby Puppet HTML
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

Puppet Forge Build Status

DNS module for Puppet

Installs and manages an ISC BIND DNS server with basic zones, primarily for The Foreman.

Usage

Include the top level dns class to fully configure the service.

include ::dns

A key is set up to allow dynamic DNS updates, stored in rndc.key. This is used by Foreman's smart proxy to add and remove records on the fly.

Zones can be created with the dns::zone resource:

dns::zone { 'example.com': }

Keys can be created with the dns::key resource:

dns::key {'dns-key':}

Slaves can also be configured by setting allow_transfer in the master's zone and setting zonetype => 'slave' in the slave's zone.

Credits

Based on zleslie-dns, with a lot of the guts ripped out. Thanks to zleslie for the original work

Contributing

  • Fork the project
  • Commit and push until you are happy with your contribution
  • Send a pull request with a description of your changes

See the CONTRIBUTING.md file for much more information.

More info

See http://theforeman.org or at #theforeman irc channel on freenode

Copyright (c) 2010-2016 Foreman developers and Zach Leslie

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.