Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2822

wsl2: resolv.conf stubbornly being regenerated [duplicate]

$
0
0

My /etc/wsl.conf:

[network]generateResolvConf = false

And yet my /etc/resolv.conf continues to regenerate.I specify:

nameserver 8.8.8.8

Only to find it changed to:

# This file was automatically generated by WSL. To stop automatic generation of this file, add the following entry to /etc/wsl.conf:# [network]# generateResolvConf = falsenameserver 172.29.128.1

Note: I tried the solutions suggested below, none of them helped:

Why does my resolv.conf file get regenerated every time?


Viewing all articles
Browse latest Browse all 2822

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>