Kubernetes Not Resolving DNS Requests


My set up is Kubernetes 1.11 running on Centos 7 and the flannel overlay all on VMWare.

It doesn’t look like DNS requests ever get to coredns. I have busybox running in the cluster and here is the output of a nslookup .

kubectl exec -ti busybox -- nslookup kubernetes.default.svc.cluster.local
;; connection timed out; no servers could be reached

command terminated with exit code 1

On the master node this comand works:

kubectl --namespace=kube-system exec -ti coredns-78fcdf6894-9bnrr -c     coredns --  nslookup kubernetes.default.svc.cluster.local

Name:   kubernetes.default.svc.cluster.local

It seems like the request isn’t getting routed?