|
@ -17,7 +17,7 @@ data: |
|
|
loop |
|
|
loop |
|
|
bind {{ nodelocaldns_ip }} |
|
|
bind {{ nodelocaldns_ip }} |
|
|
forward . {{ block['nameservers'] | join(' ') }} |
|
|
forward . {{ block['nameservers'] | join(' ') }} |
|
|
prometheus :9253 |
|
|
|
|
|
|
|
|
prometheus {% if nodelocaldns_bind_metrics_host_ip %}{$MY_HOST_IP}{% endif %}:9253 |
|
|
log |
|
|
log |
|
|
{% if dns_etchosts | default(None) %} |
|
|
{% if dns_etchosts | default(None) %} |
|
|
hosts /etc/coredns/hosts { |
|
|
hosts /etc/coredns/hosts { |
|
@ -39,7 +39,7 @@ data: |
|
|
forward . {{ forwardTarget }} { |
|
|
forward . {{ forwardTarget }} { |
|
|
force_tcp |
|
|
force_tcp |
|
|
} |
|
|
} |
|
|
prometheus :9253 |
|
|
|
|
|
|
|
|
prometheus {% if nodelocaldns_bind_metrics_host_ip %}{$MY_HOST_IP}{% endif %}:9253 |
|
|
health {{ nodelocaldns_ip }}:{{ nodelocaldns_health_port }} |
|
|
health {{ nodelocaldns_ip }}:{{ nodelocaldns_health_port }} |
|
|
{% if dns_etchosts | default(None) %} |
|
|
{% if dns_etchosts | default(None) %} |
|
|
hosts /etc/coredns/hosts { |
|
|
hosts /etc/coredns/hosts { |
|
@ -56,7 +56,7 @@ data: |
|
|
forward . {{ forwardTarget }} { |
|
|
forward . {{ forwardTarget }} { |
|
|
force_tcp |
|
|
force_tcp |
|
|
} |
|
|
} |
|
|
prometheus :9253 |
|
|
|
|
|
|
|
|
prometheus {% if nodelocaldns_bind_metrics_host_ip %}{$MY_HOST_IP}{% endif %}:9253 |
|
|
} |
|
|
} |
|
|
ip6.arpa:53 { |
|
|
ip6.arpa:53 { |
|
|
errors |
|
|
errors |
|
@ -67,7 +67,7 @@ data: |
|
|
forward . {{ forwardTarget }} { |
|
|
forward . {{ forwardTarget }} { |
|
|
force_tcp |
|
|
force_tcp |
|
|
} |
|
|
} |
|
|
prometheus :9253 |
|
|
|
|
|
|
|
|
prometheus {% if nodelocaldns_bind_metrics_host_ip %}{$MY_HOST_IP}{% endif %}:9253 |
|
|
} |
|
|
} |
|
|
.:53 { |
|
|
.:53 { |
|
|
errors |
|
|
errors |
|
@ -76,7 +76,7 @@ data: |
|
|
loop |
|
|
loop |
|
|
bind {{ nodelocaldns_ip }} |
|
|
bind {{ nodelocaldns_ip }} |
|
|
forward . {{ upstreamForwardTarget }} |
|
|
forward . {{ upstreamForwardTarget }} |
|
|
prometheus :9253 |
|
|
|
|
|
|
|
|
prometheus {% if nodelocaldns_bind_metrics_host_ip %}{$MY_HOST_IP}{% endif %}:9253 |
|
|
{% if dns_etchosts | default(None) %} |
|
|
{% if dns_etchosts | default(None) %} |
|
|
hosts /etc/coredns/hosts { |
|
|
hosts /etc/coredns/hosts { |
|
|
fallthrough |
|
|
fallthrough |
|
|