How does DNS look up and DNS resolution work for Kubernetes?
What is DNS?
Think about olden time, we used to keep phone book to find contact numbers. DNS is like a phone book of IP address.
How Does DNS resolution work Generally?DNS resolution is the process converting domain name (e.g. shalimatech.com ) to computer friendly Ip number. Since this IP number is mapped to computer the requests go to that device and that’s when a request is sent to shalimatech.com the IP gets the resources back to the user.
How Does DNS resolution work in Kubernetes clusters?
DNS resolution is done vis Kubernetes’s CoreDNS. Once you refer resolve.conf then you would understand how kubelets configures this.