scaleway家 centos7 ,chattr -i /etc/resolv.conf 报错
前面dns 解析不出,大佬说吧warp dns那一行,注释掉。试了下,重启就好了,啥原理啊
注释之前
https://iknow-pic.cdn.bcebos.com/1b4c510fd9f9d72a09c4f18cc62a2834359bbbfb
注释掉 重启后
https://iknow-pic.cdn.bcebos.com/a044ad345982b2b7593fd85523adcbef77099bfb
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
scaleway家 centos7 ,chattr -i /etc/resolv.conf 报错
当初上了warp ,但是dns 重启后总是变,所以就锁定了1.1.1.1 chattr +i /etc/resolv.conf
但是最近dns 解析出问题了,想试着修改,
chattr -i /etc/resolv.conf 报错
chattr: Inappropriate ioctl for device while reading flags on /etc/resolv.conf
https://cdn.jsdelivr.net/gh/master-of-forums/master-of-forums/public/images/patch.gif 重装系统 去改网络管理器的配置,不要动resolv dns 失效 想dd都不行https://cdn.jsdelivr.net/gh/master-of-forums/master-of-forums/public/images/patch.gif rm 之后自己建一个新的 VNC救援 试试先执行 umount/etc/resolv.conf 您的文件系统不支持这种属性。/etc/resolv.conf可能是一个符号链接并不是实际文件。chattr -f -i /etc/resolv.conf 安装resolvconf 你dd的是debian吗?
页:
[1]