|
@ -23,9 +23,13 @@ data: |
|
|
} |
|
|
} |
|
|
prometheus :9153 |
|
|
prometheus :9153 |
|
|
{% if resolvconf_mode == 'host_resolvconf' and upstream_dns_servers is defined and upstream_dns_servers|length > 0 %} |
|
|
{% if resolvconf_mode == 'host_resolvconf' and upstream_dns_servers is defined and upstream_dns_servers|length > 0 %} |
|
|
forward . {{ upstream_dns_servers|join(' ') }} |
|
|
|
|
|
|
|
|
forward . {{ upstream_dns_servers|join(' ') }} { |
|
|
|
|
|
prefer_udp |
|
|
|
|
|
} |
|
|
{% else %} |
|
|
{% else %} |
|
|
forward . /etc/resolv.conf |
|
|
|
|
|
|
|
|
forward . /etc/resolv.conf { |
|
|
|
|
|
prefer_udp |
|
|
|
|
|
} |
|
|
{% endif %} |
|
|
{% endif %} |
|
|
cache 30 |
|
|
cache 30 |
|
|
loop |
|
|
loop |
|
|