命令行(cmd)运行:ipconfig /flushdns #清除DNS缓存内容。

ps:ipconfig /displaydns //显示DNS缓存内容

linux下,文件位置:/etc/hosts

刷新方式:systemctl restart nscd。