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

How to refresh host under windows

王林
Release: 2020-11-26 15:14:39
forward
6724 people have browsed it

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缓存内容
Copy after login

ps: ipconfig /displaydns //Display DNS cache content

linux The location of the hosts file in the environment: /etc/hosts

Refresh command:

systemctl restart nscd
Copy after login

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!

Related labels:
source:csdn.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template