Hosts: 修改Hosts后生效的方法 (通过命令行无需找飞行模式开关)

Created on 30 Sep 2016  ·  5Comments  ·  Source: kelthuzadx/hosts

Windows

开始 > 运行 > CMD > 在 CMD 窗口输入

  • ipconfig /flushdns

Linux

终端输入

  • sudo rcnscd restart

对于systemd发行版,请使用命令

  • sudo systemctl restart NetworkManager

如果不懂请都尝试下

Mac OS X终端输入

  • sudo killall -HUP mDNSResponder

From LaoD.cn

discussion

Most helpful comment

。。。飞行模式开关不是更快吗

All 5 comments

。。。飞行模式开关不是更快吗

@Too-Naive From 小白 ,And 一眼喵不到飞行模式开关的童鞋

拔网线最快..

Write "ipconfig /flushdns" to a .bat file and double click it every time.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

zsenliao picture zsenliao  ·  6Comments

Lemonjay picture Lemonjay  ·  6Comments

Sharkkkk picture Sharkkkk  ·  4Comments

liuxsen picture liuxsen  ·  5Comments

gameclamp picture gameclamp  ·  9Comments