Post

How to stop wsl from updating resolv.conf

Currently I'am using Windows 10 Pro Buid 17134.648 and Ubuntu 18.04 within the WSL Bash.

To avoid updating the /etc/resolv.conf wich is a symlink pointing to /run/resolvconf/resolv.conf the default methods like dhclient-enter-hooks.d doesn't work.

Easy way out

Delete /etc/resolv.conf
Create a new /etc/resolv.conf 



This post is licensed under CC BY 4.0 by the author.