- Notifications
You must be signed in to change notification settings - Fork71
Installs and manages an ISC BIND DNS server with zones
License
theforeman/puppet-dns
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Installs and manages an ISC BIND DNS server with basic zones, primarily for TheForeman.
Include the top leveldns
class to fully configure the service.
include dns
A key is set up to allow dynamic DNS updates, stored in rndc.key. This is usedby Foreman's smart proxy to add and remove records on the fly.
Zones can be created with thedns::zone
resource:
dns::zone {'example.com': }
Keys can be created with thedns::key
resource:
dns::key {'dns-key':}
Slaves can also be configured by settingallow_transfer
in the master's zoneand settingzonetype => 'slave'
in the slave's zone.
Logging can be added with thedns::logging_categories
anddns::logging_channels
defined types. The following Hiera example shows all the available options:
dns::logging_categories:unmatched:channels: -'test_file' -'test_stderr' -'test_syslog' -'test_null'dns::logging_channels:test_file:file_path:'/var/log/named/test.log'file_versions:3file_size:'5m'log_type:'file'print_category:'yes'print_severity:'yes'print_time:'yes'severity:'dynamic'test_null:log_type:'null'print_category:'yes'print_severity:'yes'print_time:'yes'severity:'dynamic'test_stderr:log_type:'stderr'print_category:'yes'print_severity:'yes'print_time:'yes'severity:'dynamic'test_syslog:log_type:'syslog'print_category:'yes'print_severity:'yes'print_time:'yes'severity:'dynamic'syslog_facility:'auth'
Based on zleslie-dns, with a lot of the guts ripped out. Thanksto zleslie for the original work
- 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.
Seehttps://theforeman.org andhttps://theforeman.org/support.html for support
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
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, softwaredistributed 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 andlimitations under the License.
About
Installs and manages an ISC BIND DNS server with zones