bind
Bind Role
This role will configure the bind9 based on a template and variables.
Requirements
All requirements met by default ansible tooling.
Role Variables
Refer to the defaults/main.yml
file for full details.
# bind settings
bind_configure: True
bind_port: 53
bind_caching_dns: yes
bind_dnssec_validation: auto
bind_dnssec_validate_except:
- dmz.domain.tld
- prod.domain.tld
- network.domain.tld
- 8.10.10.in-addr-arpa
bind_zones:
- name: dmz.domain.tld
type: forward
zone_forwarders:
- 10.10.8.32
- 10.10.8.33
- name: network.domain.tld
type: forward
zone_forwarders:
- 10.10.8.32
- 10.10.8.33
- name: 8.10.10.in-addr.arpa
type: forward
zone_forwarders:
- 10.10.8.32
- 10.10.8.33
bind_allow_recursion:
- 10.10.8.0/24
- 127.0.0.1
bind_options_listen_on:
- any
bind_options_listen_on_v6:
- any
bind_options_forwarders:
- 8.8.8.8
- 8.8.4.4
Dependencies
A list of other roles hosted on Galaxy should go here, plus any details in regards to parameters that may need to be set for other roles, or variables that are used from other roles.
Example Playbook
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: all
roles:
- neoloc.bind
License
See license.md
Author Information
Install
ansible-galaxy install neoloc/ansible-role-bind
License
apache-2.0
Downloads
27
Owner
Linux, Ansible, Python... Tinkering sysadmin.