unwind: Initial version of role
This commit is contained in:
parent
e02e45c8a6
commit
9696f406ce
3 changed files with 30 additions and 0 deletions
10
roles/unwind/templates/unwind.conf.j2
Normal file
10
roles/unwind/templates/unwind.conf.j2
Normal file
|
@ -0,0 +1,10 @@
|
|||
{% if network_dns_servers is defined %}
|
||||
forwarder {
|
||||
{% for addr in network_dns_servers %}
|
||||
{{ addr }} port 853 authentication name "{{ lookup('community.general.dig', addr + '/PTR')[:-1] }}" DoT
|
||||
{% endfor %}
|
||||
}
|
||||
preference { DoT }
|
||||
{% else %}
|
||||
preference { oDoT-autoconf }
|
||||
{% endif %}
|
Loading…
Add table
Add a link
Reference in a new issue