Home>Article>Operation and Maintenance> How to refresh host under windows
Location of hosts file in window environment: C:\windows\system32\drivers\etc
Refresh method:
1. Press win r Key combination, enter CMD, press Enter
2. Execute the following command on the command line
ipconfig /flushdns #清除DNS缓存内容
ps: ipconfig /displaydns //Display DNS cache content
linux The location of the hosts file in the environment: /etc/hosts
Refresh command:
systemctl restart nscd
Related recommendations:windows
The above is the detailed content of How to refresh host under windows. For more information, please follow other related articles on the PHP Chinese website!