Home>Article>Operation and Maintenance> How to refresh host under windows

How to refresh host under windows

王林
王林 forward
2020-11-26 15:14:39 6595browse

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!

Statement:
This article is reproduced at:csdn.net. If there is any infringement, please contact admin@php.cn delete