<p>I've looked at <a href="https://stackoverflow.com/questions/43152190/how-does-one-install-the-kube-dns-addon-for-minikube">How does one install the kube-dns addon for minikube?</a> but the issue is that in that question, the addon is installed. However when I write</p>

<p><code>minikube addons list</code></p>

<p>I get the following:</p>

<p><code>- addon-manager: enabled
- dashboard: enabled
- default-storageclass: enabled
- efk: disabled
- freshpod: disabled
- gvisor: disabled
- heapster: disabled
- ingress: disabled
- logviewer: disabled
- metrics-server: disabled
- nvidia-driver-installer: disabled
- nvidia-gpu-device-plugin: disabled
- registry: disabled
- registry-creds: disabled
- storage-provisioner: enabled
- storage-provisioner-gluster: disabled
</code></p>

<p>none of which is kube-dns. Can't find instructions anywhere as it's supposed to be there by default, so what have I missed?</p>

<p><strong>EDIT</strong> This is minikube v1.0.1 running on Ubuntu 18.04.</p>

David Boshton
<p>The StackOverflow case which you are referring to was in 2017 so it's bit outdated.</p>

<p>According to <a href="https://kubernetes.io/docs/tasks/administer-cluster/dns-custom-nameservers/#introduction" rel="nofollow noreferrer">documentation</a> CoreDNS is recommended DNS server which replaced kube-dns. There was a transitional period when both KubeDNS and CoreDNS were deployed parallel, however in latest version only CoreDNS is deployed.</p>

<p>As default <code>Minikube</code> is creating 2 pods with CoreDNS. To verify execute: </p>

<pre><code>$ kubectl get pods -n kube-system
NAME                               READY   STATUS    RESTARTS   AGE
coredns-5c98db65d4-g4vs2           1/1     Running   1          20m
coredns-5c98db65d4-k4s7v           1/1     Running   1          20m
etcd-minikube                      1/1     Running   0          19m
kube-addon-manager-minikube        1/1     Running   0          20m
kube-apiserver-minikube            1/1     Running   0          19m
kube-controller-manager-minikube   1/1     Running   0          19m
kube-proxy-thbv5                   1/1     Running   0          20m
kube-scheduler-minikube            1/1     Running   0          19m
storage-provisioner                1/1     Running   0          20m
</code></pre>

<p>You can also see that there is CoreDNS deployment.</p>

<pre><code>$ kubectl get deployments coredns -n kube-system
NAME      READY   UP-TO-DATE   AVAILABLE   AGE
coredns   2/2     2            2           37m
</code></pre>

<p><a href="https://coredns.io/2018/11/27/cluster-dns-coredns-vs-kube-dns/" rel="nofollow noreferrer">Here</a> you can find comparison between both DNS. </p>

<p>So in short, you did not miss anything. CoreDNS is deployed as default during <code>minikube start</code>.</p>
