2023-09-01 15:42:19 -04:00
|
|
|
# DNS resolver configuration
|
|
|
|
# {{ ansible_managed }}
|
|
|
|
|
2023-09-01 15:42:25 -04:00
|
|
|
domain {{ local_domain }}
|
2023-09-01 15:42:27 -04:00
|
|
|
{% if recursive_dns_search_domains is defined %}
|
|
|
|
search {{ recursive_dns_search_domains | join (' ') }}
|
|
|
|
{% endif %}
|
2023-09-01 15:42:19 -04:00
|
|
|
options timeout:1 attempts:3 rotate
|
2023-09-01 15:42:27 -04:00
|
|
|
{% for server in recursive_dns_servers %}
|
|
|
|
nameserver {{ server }}
|
|
|
|
{% endfor %}
|