背景是 119.29.29.29 这个 DNS 被污染了,导致<你懂的>没法正常工作,我想着就修改路由器上的配置将 119.29.29.29 从解析列表里删了。但是过一段时间这个地址又被还原出来了。
查了一些资料,了解到是 openclash 会定时修改 /etc/resolv.conf 里的配置导致的。
我在 openclash->覆写配置->NameServer 里都已经将 119.29.29.29 这个地址给删除了,但是不知道哪里还是将它写入到了/etc/resolv.conf 里。求大佬指导
![]() |
1
busang 71 天前
wan 获取手填的那个吧?
|
2
hwdq0012 71 天前
sudo echo nameserver x.x.x.x > /etc/resolv.conf
sudo chmod +i /etc/resolv.conf # 锁住 |