Study. uk . com
  1. Home
  2. All questions
  3. Question 773

CKA study material · question 773 of 1000

A Pod with hostNetwork: true and dnsPolicy: ClusterFirst cannot resolve any in-cluster Service names. Why?

  1. ClusterFirst on a host-network Pod falls back to Default behaviour
  2. Host-network Pods are excluded from cluster DNS by NetworkPolicy
  3. CoreDNS refuses queries from the host network
  4. The Pod has no search domains because it has no namespace
Show the answer

Answer: A. ClusterFirst on a host-network Pod falls back to Default behaviour

A Pod with host networking must set ClusterFirstWithHostNet explicitly; ClusterFirst quietly degrades to Default there, so the node's resolver is used and cluster names do not resolve.

Source: DNS for Services and Pods (Kubernetes) — Pods › Pod's DNS Policy

Challenge yourself on this topic → Study as cards