FYI: I encountered a non-functioning CoreDNS server in CKA Mock Exam 2

As I was going through CKA Mock Exam 2, I encountered an issue trying to resolve nginx-resolver-service. I then tried to resolve the kubernetes service but it too failed.

Thinking it was a faulty busybox instance, I deleted and recreated it. Same issue.

Resolved it by killing the 2 coredns pods in kube-system namespace and after they restarted, DNS was fine - weird. Before killing the pods, I checked their logs but there was nothing in there - just 4-5 log lines.

Just thought I’d mention it as a heads up to others in the same predicament.

Hmm… that’s not supposed to happen; the question should let you call nslookup for the service and the pod and have CoreDNS resolve them. But if it happened, it happened. Odd.