Microsoft Enables DNS Tunneling By Default For WSL - More Reliable Networking

Written by Michael Larabel in Microsoft on 22 March 2024 at 02:00 PM EDT. 10 Comments
MICROSOFT
Microsoft is rolling out WSL 2.2.1 to Windows Subsystem for Linux (WSL) users with more reliable networking support, hang fixes, and other improvements.

Last year as an experimental feature Microsoft added DNS tunneling support to Windows Subsystem for Linux to improve network compatibility. This DNS tunneling is to address situations where some WSL users can't access the Internet due to the networking packet for DNS being sent by the VM to the Windows host being blocked either due to firewall settings, VPNs, or other network scenarios. With DNS tunneling enabled, a virtualization feature is used for communicating with Windows directly and thereby foregoing the networking packets sent to the host.

Windows 11 WSL with Ubuntu


With DNS tunneling proving itself worthwhile and stable over the past number of months, Microsoft is now enabling it by default to provide a more robust and reliable network experience out-of-the-box on WSL. With WSL 2.2.1, Microsoft has also integrated DNS tunneling with the Linux-native Docker support.

WSL 2.2.1 also changes the default reclamation mode to drop cache, fixes a hang in certain situations, updates against a newer Linux 5.15 LTS kernel revision, and has other updates as noted on GitHub.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week