This helpful advice was from @tsupertramp
for a in `kubectl get pods -n kube-system |grep kube-dns |grep -v autoscaler |cut -d ' ' -f 1 `;do for b in kubedns dnsmasq sidecar;do kubectl logs -n kube-system $a -c $b > $a-$b.log;done;done
=> Then you have logfiles of dns in your current directory. Then just look through the log files if there is anything like “warning” or “error”
It searches your pod names and then shows logs of each pods containers (it has three kubedns / dnsmasq / sidecar)
Then check output of: