《Windows 系列》- 修改hsot

host文件位置

Windows 系統hosts位於 C:\Windows\System32\drivers\etc\hosts緩存

Android(安卓)系統hosts位於 /etc/hostsspa

Mac(蘋果電腦)系統hosts位於 /etc/hostsdns

iPhone(iOS)系統hosts位於 /etc/hostsip

Linux系統hosts位於 /etc/hostshosts

 

刷新hosts

ipconfig /displaydnsdi

//顯示DNS緩存內容文件

ipconfig /flushdnsco

//刪除DNS緩存內容display

這樣,系統就會清空本機的DNS緩存,從而沒必要重啓,就能使Hosts文件生效。config

相關文章
相關標籤/搜索