Fixes #6740: Allow disabling reverse DNS lookups in coredns (#6741)

* created variable to enable/disable reverse dns lookups in coredns

* fixed linting-error in dns-stack.md
This commit is contained in:
axelgobletbdr
2020-09-25 11:33:11 +02:00
committed by GitHub
parent 28839f6b71
commit 77149e5d89
3 changed files with 8 additions and 1 deletions

View File

@@ -31,12 +31,14 @@ data:
lameduck 5s
}
ready
kubernetes {{ dns_domain }} in-addr.arpa ip6.arpa {
kubernetes {{ dns_domain }} {% if enable_coredns_reverse_dns_lookups %}in-addr.arpa ip6.arpa {% endif %}{
pods insecure
{% if enable_coredns_k8s_endpoint_pod_names %}
endpoint_pod_names
{% endif %}
{% if enable_coredns_reverse_dns_lookups %}
fallthrough in-addr.arpa ip6.arpa
{% endif %}
}
prometheus :9153
{% if resolvconf_mode == 'host_resolvconf' and upstream_dns_servers is defined and upstream_dns_servers|length > 0 %}