Demystifying DNS: A Guide to Understanding and Debugging Request Flows in Kubernetes Clusters
summary
Shows how to trace DNS from pod → node → CoreDNS → upstream using real commands and logs: enables CoreDNS log plugin to record queries, runs Hubble (with Cilium L7 proxy) to see flows, and uses Inspector Gadget DNS gadget (eBPF) to capture OS+Kubernetes context. Demonstrations resolve example.com and unknown.example.com, reveal success and NXDOMAIN, reproduce a timeout by inserting CoreDNS eratic drop, and confirm the failure occurs inside CoreDNS; notes no DNS-over-TCP support yet.
AI-written summary · about
chapters (9)
- 0:00Introduction to DNS debugging
- 1:27Understanding DNS components
- 3:36Using CoreDNS log plugin
- 4:56Observability with Hubble
- 8:43Inspektor Gadget framework
- 16:43Scenario: Upstream server health
- 20:39Scenario: Identifying failures
- 24:11Conclusion and summary
- 25:18Q&A session
related talks
38mIntro + Deep Dive: CoreDNS
06mLightning Talk: Is Your Kubernetes Cluster's DNS Working?
38mCoreDNS: Intro and Deep Dive
41mService Discovery With Hybrid and Multi-Cloud: Introduction to CoreDNS
29mIntro: CoreDNS
34mIt’s Always DNS: So Let’s Break It On Purpose
38mIntro + Deep Dive: CoreDNS
35mDeep Dive: CoreDNS
