CoreDNS: Flexible DNS for Kubernetes and Beyond cover

Technology · Ebook

CoreDNS: Flexible DNS for Kubernetes and Beyond

by Shriira Press

4.7(690)162 pagesPublished 2026

CoreDNS is the flexible, plugin-based DNS server that is the default for Kubernetes — the component that lets one Pod find another by name. This free book teaches it from the ground up: a DNS fundamentals refresher, CoreDNS's tiny-core plugin-chain architecture, the Corefile configuration language, the essential plugins (kubernetes, forward, cache, errors, log, health, rewrite and more), how it powers Kubernetes service discovery and the cluster naming scheme, performance and scaling with caching, ndots, and NodeLocal DNSCache, securing DNS with encryption, access control, and DNSSEC, writing your own plugins, and operating and troubleshooting CoreDNS in production. Ten focused chapters with real Corefiles and clear diagrams that make the name-resolution layer everything depends on something you can configure and debug with confidence.

Contents

  1. 1Preface
  2. 2Chapter 1 — What CoreDNS Is
  3. 3Chapter 2 — DNS Fundamentals
  4. 4Chapter 3 — Architecture and the Plugin Chain
  5. 5Chapter 4 — The Corefile
  6. 6Chapter 5 — Essential Plugins
  7. 7Chapter 6 — CoreDNS in Kubernetes
  8. 8Chapter 7 — Performance and Scaling
  9. 9Chapter 8 — Security
  10. 10Chapter 9 — Extending CoreDNS
  11. 11Chapter 10 — Operating CoreDNS and Putting It Together