ansible-roles/library/roles/bind-nameserver/defaults/main.yml

54 lines
1.1 KiB
YAML

---
bind_install: True
bind_enabled: True
bind_pkg_state: latest
bind_pkg_n: bind9
bind_pkg_list:
- '{{ bind_pkg_n }}'
- '{{ bind_pkg_n }}-host'
- '{{ bind_pkg_n }}utils'
bind_user: bind
bind_group: bind
bind_config_path: '/etc/bind'
bind_cache_dir: '/var/cache/bind'
# RH/CentOS. We do not handle that yet
bind_use_chroot_on_rh: True
bind_chroot_base: /var/named/chroot
bind_service_enabled: True
bind_rh_config_path: '/etc'
bind_rh_user: named
bind_rh_group: named
bind_rh_packages:
- bind
- bind-license
- bind-utils
bind_rh_chroot_packages:
- bind-chroot
- bind-license
- bind-utils
# These options are meant for the caching nameserver configuration
bind_caching_nameserver: False
bind_allowed_query_acl:
- '{{ ansible_default_ipv4.address }}'
bind_use_forwarders: False
bind_forwarder_only: False
bind_forwarders_list:
- '{{ ansible_default_ipv4.address }}'
bind_listen_on_ipv4: True
bind_listen_on_ipv6:
- any
bind_dnssec_enabled: False
bind_dnssec_validation: auto
# Default: 1 week
bind_max_cache_ttl: 604800
# 10 minutes
bind_max_negative_cache_ttl: 600