Kubernetes DNSΒΆ
DNS for Services and PodsΒΆ
Kubernetes creates DNS records for Services and Pods. You can contact Services with consistent DNS names instead of IP addresses.
Any Pods exposed by a Service have the following DNS resolution available:
Custom DNS SettingsΒΆ
Edit coredns config mapΒΆ
Add entry to the Corefile: |
section of the configmap/coredns
in section kube-system.
Add new config mapΒΆ
Example for local DNS server using the clcreative.home zone.