
手动使用
添加hosts
访问 https://hosts.gitcdn.top/hosts.txt , 将其全部内容粘贴到你的hosts文件中,即可。
Linux / MacOS hosts路径:/etc/hosts
Windows hosts路径:C:\Windows\System32\drivers\etc\hosts
刷新生效
Linux: /etc/init.d/network restart
Windows: ipconfig /flushdns
Macos: sudo killall -HUP mDNSResponder
更新内容
优化关于windows下hosts换行符适配