修改系统DNS
Edit System DNS
说明:请将以下内容中 xx.x.x.x
替换为面板返回的实际DNS
一键脚本
chattr -i /etc/resolv.conf && wget -N --no-check-certificate https://github.com/1-stream/1stream-public-utils/raw/main/dns-change.sh && chmod +x dns-change.sh && ./dns-change.sh xx.x.x.x
还原DNS
(chattr -i /etc/resolv.conf && wget -N --no-check-certificate https://github.com/1-stream/1stream-public-utils/raw/main/dns-change.sh && chmod +x dns-change.sh && ./dns-change.sh restore)||(chattr -i /etc/resolv.conf && ./dns-change.sh restore)
最后更新于