Scalable DNS With CoreDNS Plugins: A Deep Dive
Talkat KubeCon + CloudNativeCon Europe 2025 · on Wednesday, 2025-04-02· at 12:00· Platinum Suite | Level 3 | Room 3-4·
summary
Demo plugin returns different A records based on source IP (internal 172. → 1.1.1.1, external → 8.8.8.8), implemented with three Go functions (init, setup, ServeDNS) and about 80 lines of Go, built into a static CoreDNS binary. CoreDNS adds SO_REUSEPORT multisocket support to attach one socket per CPU, producing near-linear QPS scaling up to network limits. Feature ships in 1.12 release* and is enabled by adding multisocket to the Corefile; node-local DNS remains useful for per-node caching and connection-tracking relief.
AI-written summary · about
chapters (6)
- 0:00CoreDNS introduction
- 2:55Custom CoreDNS plugins
- 9:40CoreDNS updates
- 11:47CoreDNS QPS limits
- 22:29Scaling recommendations and optimizations
- 26:52Q&A








