Skip to content

Commit 987b061

Browse files
committed
Fine tune CoreDNS pod configuration to improve performance
Make updates to the `forward` plugin in the Cloud platform CoreDNS Corefile to `force_tcp` while making DNS requests. This has been found to reduce i/o timeouts experienced by UDP DNS requests made to the Cloud Upstream servers.
1 parent 7eb4793 commit 987b061

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/common/cloud-platform-alt-dns/files/coredns-corefile.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ contents:
44
inline: |
55
. {
66
errors
7-
bufsize 512
87
health :18080
98
forward . {{`{{- range $upstream := .DNSUpstreams}} {{$upstream}}{{- end}}`}} {
109
policy sequential
10+
force_tcp
1111
}
1212
cache 30
1313
reload

0 commit comments

Comments
 (0)