After finished the K8S installation, I had encountered an issue that the pod cannot resolve the domain name. I use these commands to check the DNS issue.
$ systemd-resolve --status nameservers: addresses: - 210.240.232.1 search: [] # use busybox pod to run nslookup $ kubectl apply -f https://k8s.io/examples/admin/dns/busybox.yaml $ kubectl exec -it busybox -- nslookup kubernetes.default $ kubectl exec -it busybox -- nslookup google.com # check local DNS configuration $ kubectl exec busybox cat /etc/resolv.conf