- ipv6 的项目地址:ipv6-hosts
- 正如文档中所说,用于在大陆地区加快 Google、YouTube、Facebook、Wikipedia 等的访问;(twitter 不支持)
- 使用说明(windows):
- 解压到的 hosts 文件对于 windows 系统将其复制到
%SystemRoot\System32\Drivers\etc%(%SystemRoot%一般是C:\Windows) - cmd 命令行下执行:
ipconfig /flushdns(刷新 dns 服务器解析缓存)
- 解压到的 hosts 文件对于 windows 系统将其复制到
- 使用说明(linux):
- 将 hosts 文件移动到:
/etc/ - shell 下执行:
sudo /etc/init.d/networking restart(重启网络服务)
- 将 hosts 文件移动到:
此外该项目中,还有一个 update_hosts.py 文件,其提交说明为:update blackhole(也即定期地可以使用 python 执行该命令以更新hosts文件),与之相配套的还有 merge_snippets.sh文件 ,可见需在 Linux shell 下才可使用该更新。
浙公网安备 33010602011771号