Kubernetes & Operations
CoreDNS debugging
Cluster DNS answers name lookups for pods, and a high ndots value can multiply queries so that overloaded CoreDNS shows up as five-second delays.
What you will be able to do
- Explain how the search list, ndots and CoreDNS produce slow or failed lookups.
- Decide which fix to try first for slow lookups: a trailing dot, a lower ndots, or more CoreDNS capacity.
What is in the lesson
- A real situation where this goes wrong
- How it works, step by step
- A walkthrough with commands you can run
- How it fails in production, and how to tell
- Three quiz questions with explanations
Read this lessonFree. No account needed.
More in Kubernetes & Operations
- Service and EndpointSliceAdvanced · 4 min
A Service sends traffic only to the endpoints in its EndpointSlices, so a selector or port name mismatch can leave Ready pods with no backends.
- kube proxy and eBPFAdvanced · 4 min
kube-proxy turns Service IPs into node rules, and an eBPF replacement moves that work elsewhere, so you must know which component owns Service traffic before you debug…
- NetworkPolicy semanticsAdvanced · 4 min
NetworkPolicy isolates a pod only once a selecting policy lists a direction, allows add together, and nothing happens at all unless the network plugin enforces them.
- Ingress controllersAdvanced · 4 min
An Ingress is only a set of routing rules, and it serves traffic only after an ingress controller accepts it and publishes an address.
- Gateway APIAdvanced · 4 min
Gateway API splits gateways, owned by the platform team, from routes, owned by app teams, and status conditions show whether the two have connected.
- PVC lifecycleAdvanced · 4 min
A PersistentVolumeClaim binds to a volume through a fixed lifecycle, and its reclaim policy decides whether the data survives when the claim goes.