DNS not resolving inside a pod

Hi there,
I installed my first microk8s cluster and need help trying to figure out what I did wrong.
I can deploy pods no problem and they run just fine until they need to access an external address via DNS name. I can ping the sites by IP address, but not by DNS name.
For example:
root@my-shell2:/# ping dns.google
ping: unknown host dns.google

root@my-shell2:/# ping 8.8.4.4
PING 8.8.4.4 (8.8.4.4) 56(84) bytes of data.
64 bytes from 8.8.4.4: icmp_seq=1 ttl=116 time=11.3 ms
64 bytes from 8.8.4.4: icmp_seq=2 ttl=116 time=11.2 ms
64 bytes from 8.8.4.4: icmp_seq=3 ttl=116 time=11.3 ms
64 bytes from 8.8.4.4: icmp_seq=4 ttl=116 time=11.1 ms

nslookup inside the pod yields this:
root@my-shell2:/# nslookup dns.google
Server: 10.152.183.10
Address: 10.152.183.10#53

** server can't find dns.google: SERVFAIL

10.152.183.10 corresponds to the Cluster-IP for the kube-dns service

And when I try to ping 10.152.183.10 from within the pod, I get this:
root@my-shell2:/# ping 10.152.183.10
PING 10.152.183.10 (10.152.183.10) 56(84) bytes of data.
From 10.253.253.253 icmp_seq=98 Destination Net Unreachable
From 10.253.253.253 icmp_seq=116 Destination Net Unreachable
From 10.253.253.253 icmp_seq=148 Destination Net Unreachable

(that From address looks really strange)

One thing to note is that I originally set this microk8s box up in my home connected to my personal router and was also running OpenVPN on the same microk8s box. Since then, I moved the microk8s box to my school behind it’s VPN and I removed OpenVPN. This also changed its IP address pool (which I manually changed in the microk8s configuration, although I cannot remember offhand where I did that).

Thank you for any help you can offer!

Hi Rob,
Microk8s enable DNS
you can add DNS IP below the location
vi /var/snap/microk8s/current/args/kubelet
add cluster DNS IP(10…x.x.x;8.8.8.8;8.8.4.4) google IP
After add dns down and up you pods to reflect ip dns in pods.