%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