Administrators may need to change the DNS server referenced across all nodes and Pods in a TKGm cluster. Since DNS settings are typically distributed from an external DHCP server, additional steps are required to ensure that TKG nodes and Kubernetes components (CoreDNS, NodeLocalDNS) use the new DNS.
TKGm does not provide a supported mechanism to regenerate or re-create nodes directly from updated DHCP configuration (dhcpd.conf). Therefore, DNS changes must be propagated manually to the cluster nodes and DNS services.
Recommended procedure to update DNS in TKGm clusters:
Deploy the new DNS server.
Update the DHCP server configuration (dhcpd.conf) with the new nameserver.
Refresh each TKG node’s resolv.conf: