<p>I tried the following command on my minikube setup to verify if dns is working fine or not.</p>

<p><code>kubectl exec -ti busybox -- nslookup kubernetes.default</code></p>

<p>but this is the output I am getting
'
    Server:    10.96.0.10
    Address 1: 10.96.0.10</p>

<pre><code>nslookup: can't resolve 'kubernetes.default'
command terminated with exit code 1'
</code></pre>

<p>Apart from that, I checked the coredns pod logs it shows something like below:
`
2019-11-07T12:25:23.694Z [ERROR] plugin/errors: 0 
    5606995447546819070.2414697521008405831. HINFO: read udp 172.17.0.5:60961- </p>

<blockquote>
  <p>10.15.102.11:53: i/o timeout
  `</p>
</blockquote>

<p>Can some explain me what is going wrong? busybox image tag is 
<code>image: busybox:1.28</code></p>

Nish
<p>Thats because your busybox pod know nothing about <code>kubernetes.default</code>
Fix your /etc/resolv.conf</p>

<p>It should be like</p>

<pre><code>search default.svc.cluster.local svc.cluster.local
nameserver 10.96.0.10
options ndots:5
</code></pre>

<p>Additionally you cat open <a href="https://kubernetes.io/docs/tasks/administer-cluster/dns-debugging-resolution/" rel="nofollow noreferrer">Debugging DNS Resolution</a> documentation and  check provided examle for the same.</p>

<blockquote>
  <p>Take a look inside the resolv.conf file. (See Inheriting DNS from the
  node and Known issues below for more information)</p>
</blockquote>

<pre><code>kubectl exec busybox cat /etc/resolv.conf
</code></pre>

<blockquote>
  <p>Verify that the search path and name server are set up like the
  following (note that search path may vary for different cloud
  providers):</p>
</blockquote>

<pre><code>search default.svc.cluster.local svc.cluster.local cluster.local google.internal c.gce_project_id.internal
nameserver 10.0.0.10
options ndots:5
</code></pre>

<blockquote>
  <p>Errors such as the following indicate a problem with the
  coredns/kube-dns add-on or associated Services:</p>
</blockquote>

<pre><code>kubectl exec -ti busybox -- nslookup kubernetes.default
Server:    10.0.0.10
Address 1: 10.0.0.10

nslookup: can't resolve 'kubernetes.default'
or

kubectl exec -ti busybox -- nslookup kubernetes.default
Server:    10.0.0.10
Address 1: 10.0.0.10 kube-dns.kube-system.svc.cluster.local

nslookup: can't resolve 'kubernetes.default'
</code></pre>
