Hosts 檔案可加速域名解析、封鎖惡意網站,是系統管理常用工具。Win7 中 Hosts 位於系統深處,無副檔名,本文教您最快定位與編輯方法。
C:\Windows\System32\drivers\etc 按 Enter。hosts 檔案(無副檔名)。

IP位址 域名(例:127.0.0.1 www.adsite.com)。ipconfig /flushdns 重整 DNS 快取立即生效。管理員 CMD 中輸入:notepad %windir%\System32\drivers\etc\hosts 直接開啟編輯。