Skip to content

Commit

Permalink
chore: disable coredns cache for cluster domain
Browse files Browse the repository at this point in the history
Ref: kubernetes/kubernetes#128359

Also bring in small changes from upstream CoreDNS config.

Signed-off-by: Noel Georgi <git@frezbo.dev>
  • Loading branch information
frezbo committed Oct 31, 2024
1 parent d8b6521 commit 7aeb15f
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,17 @@ data:
kubernetes {{ .ClusterDomain }} in-addr.arpa ip6.arpa {
pods insecure
fallthrough in-addr.arpa ip6.arpa
ttl 30
}
forward . /etc/resolv.conf {
max_concurrent 1000
}
forward . /etc/resolv.conf
cache 30
{{- if .ClusterDomain }} {
disable success {{ .ClusterDomain }}
disable denial {{ .ClusterDomain }}
}
{{- end }}
loop
reload
loadbalance
Expand Down

0 comments on commit 7aeb15f

Please sign in to comment.