I have installed the latest version kubernetes 1.18 using kubeadm which automatically installs coredns for DNS.
I am using flannel as network plugin.
The cluster starts successfully, but when i install the dnsutils pod to check dns as suggested in https://kubernetes.io/docs/tasks/administer-cluster/dns-debugging-resolution/ and execute command
kubectl exec -ti dnsutils – nslookup kubernetes.default
i get error as
nslookup: can't resolve 'kubernetes' command terminated with exit code 1
Please suggest on how this issue can be resolved.