mirror of
https://github.com/microsoft/WSL.git
synced 2025-07-03 23:33:21 +00:00

Many Microsoft employees have contributed to the Windows Subsystem for Linux, this commit is the result of their work since 2016. The entire history of the Windows Subsystem for Linux can't be shared here, but here's an overview of WSL's history after it moved to it own repository in 2021: Number of commits on the main branch: 2930 Number of contributors: 31 Head over https://github.com/microsoft/WSL/releases for a more detailed history of the features added to WSL since 2021.
648 B
648 B
GNS
gns
is a process created by mini_init
. Its jobs is to configure networking within the WSL2 virtual machine.
Networking configuration
Networking settings are shared by all WSL2 distributions. While WSL2 is running, gns
maintains an hvsocket channel to wslservice.exe, which is used to send various networking related configurations such as:
- Interface IP configuration
- Routing table entries
- DNS configuration
- MTU size configuration
When DNS tunneling is enabled, gns
is also responsible for replying to DNS requests.
See src/linux/init/GnsEngine.cpp
and src/windows/service/exe/GnsChannel.cpp