Microsoft has enabled DNS tunneling by default in the new version of Windows Subsystem for Linux (WSL) 2.2.1

Microsoft has enabled DNS tunneling by default in the new version of Windows Subsystem for Linux (WSL) 2.2.1

On March 22, 2024, developers from Microsoft released an update for the Windows subsystem for Linux. In the new WSL 2.2.1 version, DNS tunneling is now enabled by default to improve network compatibility. Previously, this option was available experimentally.

DNS tunneling is designed to address situations where some WSL users cannot access the Internet because the network packet for DNS sent by the virtual machine to the Windows host is blocked, or because of firewall, VPN, or other network scenarios. With DNS tunneling enabled, the virtualization option is used to communicate directly with Windows and thus allows you to drop packets sent to the host. This process ensures more stable and reliable network operation in WSL.

Microsoft has also integrated DNS tunneling using Docker built into Linux.

Other fixes and enhancements in WSL 2.2.1 include a default recovery mode to delete cache, fixes for hangs in certain situations, an update to the newer version of the Linux kernel 5.15 LTS, and patches against previously discovered bugs.

Related posts