Nslookup kubernetes does not give result

#1

I use kubernetes 1.14.0 and use flannel as CNI.

I had issue with nslookup kubernetes or any service. I finally did reinstall of kube-dns forcefully [https://github.com/kubernetes/kubernetes/issues/63900#issuecomment-430534767]. After this I see the result as
/ # nslookup kubernetes
Server: 10.96.0.10
Address: 10.96.0.10:53

Name: kubernetes.default.svc.cluster.local
Address: 10.96.0.1

*** Can’t find kubernetes.svc.cluster.local: No answer
*** Can’t find kubernetes.cluster.local: No answer
*** Can’t find kubernetes.ent.bhicorp.com: No answer
*** Can’t find kubernetes.default.svc.cluster.local: No answer
*** Can’t find kubernetes.svc.cluster.local: No answer
*** Can’t find kubernetes.cluster.local: No answer
*** Can’t find kubernetes.ent.bhicorp.com: No answer

/ # nc 10.96.0.10 53 -v
10.96.0.10 (10.96.0.10:53) open
^Cpunt!

0 Likes