How do I change the DNS settings for WSL2?
Solution 1:
The process I documented above is correct - this is how you change the DNS settings under WSL2.
My mistake was in using the well known public DNS Servers for CloudFlare (1.1.1.1) and Google (8.8.8.8 & 8.8.4.4) for testing purposes. It turns out that my local network blocks me from using public DNS.
When I tested the above process with the correct internal DNS server IP address, everything worked properly.