Tag

resolv.conf

1 views collected around this technical thread.

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.

CoreDNSDNSKubelet
0 likes · 6 min read
Understanding DNS and Its Configuration in Kubernetes
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.

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