I have two k0s installations, and both are in a WSL environment. The one on my personal computer works fine, and can access public DNS servers. However, the one on my company computer cannot access any DNS server, not even a dnsmasq service on the same machine.
While testing the k0s on my company computer, I updated
coredns to forward queries to my local dnsmasq server. I can see the queries from the
coredns pod when it initializes, but the
coredns log shows it cannot get responses from the DNS server.
My company computer may have some firewall rules blocking the DNS queries. If I could identify the rule, I could work with our IT security to resolve this. It does not make sense to block DNS queries from the k0s cluster.