coreDNS issue with k3s in WSL


My k3s runs in my WSL on my Windows machine. Everything works until I connect to my company’s VPN. The coreDNS pod cannot access any DNS server. I think it is because my company blocked them. The only my WSL access to a DNS server is using a local dnsmasq running in a container on my Windows Docker Desktop.

My WSL is able to access my local dnsmasq using But coreDNS cannot use any local DNS. I got a loopback error when trying to set the DNS to

Could someone help me come up with a solution to solve this DNS issue?