ETExamTower
Q29Kubernetes Fundamentals

What is the primary function of CoreDNS in a cluster?

← → navigate · a answer
Community votes
A
100% (2)
B
0% (0)
C
0% (0)
D
0% (0)
Discussion · 1
A 1
The correct answer is: A. Provides consistent DNS names for Pods and Services for workloads that need to communicate with each other. CoreDNS is the default DNS service inside Kubernetes. It allows workloads to resolve Service names like: my-service.default.svc.cluster.local or simply: my-service within the same namespace. Why not the others? B — CoreDNS does not convert IPv6 calls into IPv4 calls. C — CoreDNS is primarily for in-cluster Kubernetes DNS. D — that describes public DNS services like Route 53 or Cloud DNS. Answer: A. CoreDNS provides DNS resolution for Pods and Services inside the cluster.