Prevent deletion of /etc/resolv.conf on session start #705
-
Hi, I had issues with DNS and the solution that worked for me was running Once the file was deleted, not able to edit or create a new one as well -
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Update: Following this seemed to have fixed the issue - https://colhountech.com/2021/04/01/wsl2-ubuntu-ping-hostname-temporary-failure-in-name-resolution/ The file was not deleted but rather the symbolic link was broken |
Beta Was this translation helpful? Give feedback.
-
Hello @avinashupadhya99, generateResolvConf should fix the problem. I'll take a look. To reproduce it and how was fixed with the article that you linked. Regards, |
Beta Was this translation helpful? Give feedback.
Update: Following this seemed to have fixed the issue - https://colhountech.com/2021/04/01/wsl2-ubuntu-ping-hostname-temporary-failure-in-name-resolution/ The file was not deleted but rather the symbolic link was broken