In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
The purpose of this article is to share with you about how to clean up the cache on the CVM. The editor thinks it is very practical, so I hope you can learn something after reading this article. Let's take a look at it with the editor.
How does the CVM clean up the cache? When you visit the site, both the operating system and web browsers keep records of the domain and the corresponding IP address, and in some cases, such as troubleshooting network problems, or after changing the DNS parser, you will need to refresh the DNS cache.
This clears the cached DNS entry and performs a subsequent lookup to resolve the domain name based on the newly configured DNS settings. Here we show you how to clear the DNS cache.
Windows system
The process of clearing the DNS cache is the same for all Windows versions. You need to use administrator privileges to open a command prompt and run ipconfig / flushdns.
Windows 10 and Windows 8
1. Type cmd in the Windows search bar.
two。 Right-click the command prompt, and then right-click run as administrator. This opens the Command prompt window.
3. On the command line, type the following line, and then press enter:
Ipconfig / flushdns
Linux system
On Linux, there is no operating system-level DNS cache unless a caching service such as Systemd-Resolved,DNSMasq or Nscd is installed and running. Depending on the Linux release and the caching service used, the process of clearing the DNS cache varies.
Systematic solution
Most modern Linux distributions, such as Ubuntu 18.04, use systemd parsing services to cache DNS entries.
To find out if the service is running, run:
$sudo systemctl is-active systemd-resolved.service
If the service is running, the command active will be printed, otherwise you will see inactive.
To clear the DNS cache parsed by the system, you need to type the following command.
$sudo systemd-resolve-flush-caches
The above is how the CVM cleans the cache. The editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.