Bird
0
0

Why does CoreDNS use the cluster.local domain by default for service DNS names?

hard📝 Conceptual Q10 of 15
Kubernetes - Networking
Why does CoreDNS use the cluster.local domain by default for service DNS names?
ATo isolate cluster DNS names from external DNS namespaces
BBecause cluster.local is a public DNS domain
CTo allow external DNS servers to resolve cluster services
DBecause it is required by the Kubernetes API server
Step-by-Step Solution
Solution:
  1. Step 1: Understand the purpose of cluster.local domain

    The cluster.local domain is reserved to isolate internal Kubernetes DNS names from external DNS namespaces.
  2. Step 2: Confirm why isolation is important

    This prevents conflicts and leakage of internal service names to the public internet DNS.
  3. Final Answer:

    To isolate cluster DNS names from external DNS namespaces -> Option A
  4. Quick Check:

    cluster.local isolates internal DNS = To isolate cluster DNS names from external DNS namespaces [OK]
Quick Trick: cluster.local isolates internal DNS from external [OK]
Common Mistakes:
  • Thinking cluster.local is a public domain
  • Assuming external DNS resolves cluster.local
  • Believing Kubernetes API requires cluster.local

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes