%SystemRoot\System32\Drivers\etc%
(%SystemRoot%通常是 C:\Windows
)ipconfig /flushdns
(刷新 dns 服务器解析缓存)/etc/
sudo /etc/init.d/networking restart
(重启网络服务)此外该项目中,还有一个 update_hosts.py
文件,其提交说明为:update blackhole
(也即按期地可使用 python 执行该命令以更新hosts文件),与之相配套的还有 merge_snippets.sh
文件 ,可见需在 Linux shell 下才可以使用该更新。python