通过 ssh 链接进入 飞牛os
输入 sudo -i
获取管理员权限
nano /etc/resolv.conf
输入上面的命令 打开配置文件.就是下面的
#Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
# 127.0.0.53 is the systemd-resolved stub resolver.
# run "resolvectl status" to see details about the actual
nameservers. nameserver 192.168.31.1
nameserver fe80::1%enp1s0-ovs
上面的 最后一给错误咯nameserver fe80::1%enp1s0-ovs
每次我修改完重启 由恢复咯.nameserver fe80::1%这是正确的.
不知道有没有遇到跟我这样的呀,
因为有一个面板用咯这个.每次都报错