feat: add dns management for alpine and debian
This commit is contained in:
parent
63d9880750
commit
0ba18a512f
4 changed files with 27 additions and 1 deletions
6
templates/dns/resolve.conf.j2
Normal file
6
templates/dns/resolve.conf.j2
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{% for dns_server in dns_servers -%}
|
||||
nameserver {{ dns_server }}
|
||||
{% endfor %}
|
||||
{% if "example" not in dns_search -%}
|
||||
search {{ dns_search }}
|
||||
{% endif %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue