Technology · Ebook
CoreDNS: Flexible DNS for Kubernetes and Beyond
by Shriira Press
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
- 1Preface
- 2Chapter 1 — What CoreDNS Is
- 3Chapter 2 — DNS Fundamentals
- 4Chapter 3 — Architecture and the Plugin Chain
- 5Chapter 4 — The Corefile
- 6Chapter 5 — Essential Plugins
- 7Chapter 6 — CoreDNS in Kubernetes
- 8Chapter 7 — Performance and Scaling
- 9Chapter 8 — Security
- 10Chapter 9 — Extending CoreDNS
- 11Chapter 10 — Operating CoreDNS and Putting It Together
