Skip to content

hostyun/dns-change

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

dns-change

修改系统DNS一键脚本

修改系统DNS

chattr -i /etc/resolv.conf && wget -N --no-check-certificate https://raw.githubusercontent.com/hostyun/dns-change/main/dns-change.sh && chmod +x dns-change.sh && ./dns-change.sh 8.8.8.8 1.1.1.1

  • 自行替换脚本后面的DNS

一键关闭 ipv6

bash <(curl -s https://raw.githubusercontent.com/hostyun/dns-change/main/disable-ipv6.sh)

About

修改系统DNS一键脚本

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages