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

CKA study material · question 873 of 1000

A Service name will not resolve from inside a Pod. Which lookup isolates cluster DNS itself as the problem?

  1. nslookup on the Service's cluster IP
  2. nslookup kubernetes.default
  3. nslookup on the node's hostname
  4. nslookup on an external name such as example.com
Show the answer

Answer: B. nslookup kubernetes.default

The kubernetes Service should always resolve; if that lookup fails the fault is in DNS or kube-proxy rather than in the Service being investigated.

Source: Debug Services (Kubernetes) — Does any Service work by DNS name?

Challenge yourself on this topic → Study as cards