Tagged articles
3 articles
Page 1 of 1
System Architect Go
System Architect Go
Sep 18, 2024 · Cloud Native

Understanding DNS and Its Configuration in Kubernetes

This article explains the fundamentals of DNS, its role as an application‑layer protocol, and how Kubernetes generates and manages each pod's /etc/resolv.conf through kubelet, covering nameserver, search, ndots options, dnsPolicy choices, and custom dnsConfig examples.

CoreDNSDNSKubernetes
0 likes · 6 min read
Understanding DNS and Its Configuration in Kubernetes
Liangxu Linux
Liangxu Linux
Feb 19, 2024 · Cloud Native

How CoreDNS and kubelet Configure /etc/resolv.conf in Kubernetes Pods

This article explains how CoreDNS runs on a Caddy‑based HTTP/2 server in Kubernetes, how kubelet injects the cluster DNS IP into each container’s /etc/resolv.conf, and how different dnsPolicy settings (Default, ClusterFirst, ClusterFirstWithHostNet, None) affect the resolv.conf configuration, including key options and examples.

CoreDNSKubernetesdnsPolicy
0 likes · 6 min read
How CoreDNS and kubelet Configure /etc/resolv.conf in Kubernetes Pods
Efficient Ops
Efficient Ops
Feb 28, 2021 · Cloud Native

How Kubernetes Handles DNS: CoreDNS, iptables, and resolv.conf Explained

This article explores how Kubernetes resolves DNS queries by examining the Pod's resolv.conf configuration, the CoreDNS service implementation via iptables rules, and the impact of search and ndots options on query behavior, providing practical examples and optimization tips.

CoreDNScloud-nativeiptables
0 likes · 12 min read
How Kubernetes Handles DNS: CoreDNS, iptables, and resolv.conf Explained