12 lines
311 B
Django/Jinja
12 lines
311 B
Django/Jinja
# DNS resolver configuration
|
|
# {{ ansible_managed }}
|
|
|
|
domain {{ local_domain }}
|
|
{% if recursive_dns_search_domains is defined %}
|
|
search {{ recursive_dns_search_domains | join (' ') }}
|
|
{% endif %}
|
|
options timeout:1 attempts:3 rotate
|
|
{% for server in recursive_dns_servers %}
|
|
nameserver {{ server }}
|
|
{% endfor %}
|