当前位置:网站首页>DNS resolution error during windows unbutu20 lts apt, WGet installation
DNS resolution error during windows unbutu20 lts apt, WGet installation
2022-07-25 13:42:00 【Muxiatong】

Searched a lot , It's all about DNS Parse error , Follow everyone's method , To modify /etc/resolv.conf Just the things inside , But I found a problem after the modification , After restart , Check this file and it will be restored to the default again , Can't persist , So at present, we can only encounter DNS Run the code when there is a problem , Go again apt install
sudo rm /etc/resolv.conf
sudo bash -c 'echo "nameserver 8.8.8.8" > /etc/resolv.conf'
sudo bash -c 'echo "[network]" > /etc/wsl.conf'
sudo bash -c 'echo "generateResolvConf = false" >> /etc/wsl.conf'
sudo chattr +i /etc/resolv.confwget There may also be this problem , I run the above code , Just install it again
边栏推荐
- 二叉树基本知识
- mysql 01: source命令
- Uniapp handles background transfer pictures
- 刷题-洛谷-P1085 不高兴的津津
- From input URL to web page display
- Pycharm cannot input Chinese solution
- How to solve the problem of taking up too much space when recording and editing videos?
- Arrays常用方法
- IM系统-消息流化一些常见问题
- JS Array indexOf includes sort() 冒号排序 快速排序 去重和随机样本 random
猜你喜欢

IM系统-消息流化一些常见问题

Uncaught SyntaxError: Octal literals are not allowed in strict mode.

QGIS loading online map: Gaode, Tiandi map, etc
![[platform IO compile hifive1 revb] * * * [.pio\build\hifive1 revb\src\setupgpio.o] solution to error 1](/img/a1/de197464e2a735d7ef012cea780da5.png)
[platform IO compile hifive1 revb] * * * [.pio\build\hifive1 revb\src\setupgpio.o] solution to error 1

刷题-洛谷-P1161 开灯
Congestion control of TCP

The migration of arm architecture to alsa lib and alsa utils is smooth

Preparing for the soft test for junior programmers in the second half of 2022

leetcode--四数相加II

GCD details
随机推荐
二叉树基本知识
0716RHCSA
ES6 array de duplication new set()
@wrap 装饰器
刷题-洛谷-P1035 级数求和
Excel record macro
[platform IO compile hifive1 revb] * * * [.pio\build\hifive1 revb\src\setupgpio.o] solution to error 1
hcip第十天笔记
领域驱动模型设计与微服务架构落地-模型设计
Jupyter Notebook介绍
互斥锁、自旋锁、读写锁……理清它们的区别和应用
G027-op-ins-rhel-04 RedHat openstack creates a customized qcow2 format image
GCD details
hcip第七天笔记
Error of Tencent cloud [100007] this env is not enable anonymous login
The simplest solution of the whole network 1045 access denied for user [email protected] (using password:YES)
Mxnet implementation of densenet (dense connection network)
Introduction to jupyter notebook
Uniapp handles background transfer pictures
刷题-洛谷-P1161 开灯