forked from ISTI-ansible-roles/ansible-roles
32 lines
667 B
YAML
32 lines
667 B
YAML
---
|
|
unbound_pkgs:
|
|
- unbound
|
|
- unbound-anchor
|
|
- unbound-host
|
|
- dnsutils
|
|
|
|
unbound_interfaces:
|
|
- '0.0.0.0'
|
|
- '::0'
|
|
|
|
unbound_allowed_clients:
|
|
- { cidr: '0.0.0.0/0', policy: 'allow' }
|
|
|
|
unbound_prefetch: 'yes'
|
|
unbound_verbosity: 1
|
|
unbound_threads: '{{ ansible_processor_count }}'
|
|
|
|
unbound_remote_control: 'yes'
|
|
unbound_remote_IP: '127.0.0.1'
|
|
|
|
unbound_rrset_cache_size: 100m
|
|
unbound_rrset_msg_cache_size: 50m
|
|
# Larger socket buffer. OS may need config.
|
|
unbound_so_rcvbuf: 4m
|
|
unbound_so_sndbuf: 4m
|
|
# Faster UDP with multithreading (only on Linux).
|
|
unbound_so_reuseport: 'yes'
|
|
# with libevent
|
|
unbound_outgoing_range: 8192
|
|
unbound_num_queries_per_thread: 4096
|