修改host文件

host文件路径

  • Windows 系统:C:\Windows\System32\drivers\etc\hosts
  • Linux 系统:/etc/hosts
  • Mac(苹果电脑)系统:/etc/hosts
  • Android(安卓)系统:/system/etc/hosts
  • iPhone(iOS)系统:/etc/hosts

查询IP

查询IP的网站

刷新DNS

  • Windows:在 CMD 窗口输入:ipconfig /flushdns
  • Linux 命令:sudo rcnscd restart
  • Mac 命令:sudo killall -HUP mDNSResponder

神器

GitHub520

posted @ 2021-08-29 16:35  0x7F  阅读(120)  评论(0编辑  收藏  举报