3 ms·
The Windows hosts file is usually at C:\Windows\System32\drivers\etc\hosts. Winsock was modelled after BSD, hence the resemblance in the filename. /etc/resolv.
by joshuaissac 7y ago
The Windows hosts file is usually at C:\Windows\System32\drivers\etc\hosts. Winsock was modelled after BSD, hence the resemblance in the filename.
/etc/resolv.conf is available from Bash when WSL is enabled. It reflects the settings from the registry by default, but can be made to be independent of them.
- Kaze404 7y agoI always wondered why it was in such an awkward location. It makes sense now.