What is dns cache?
DNS caching means that after DNS returns the correct IP, the system will temporarily store the result. And it will set an expiration time for the cache (for example, N hours). Within these N hours, when you visit this website again, the system will return the result directly to you from the local DNS cache of your computer, and There is no need to ask the DNS server anymore, which "speeds up" the resolution of the URL in disguise.
How to clear DNS cache?
(1) Manually clear the dns cache
In Mac OS Parse the cache, but many times we don’t remember what command text we need to enter. At this time we can use another method to clear it.
(2) Use CleanMyMac to clear the dns cache in mac
It couldn’t be easier to use such software to clean up, cleanmymac’s cleaning work is done It is very good, including cache cleaning, which is simple to operate. After starting cleanmymac and selecting "Maintenance", we will see some system maintenance options displayed on the right, including "Refresh DNS Cache", which we can do at any time. Work.
Regarding cleanmymac, this cleaning software can perform a lot of maintenance and cleaning for your Mac. Many friends can use it to solve the problem of deleting plug-ins on their Mac.
Related recommendations: macos system
The above is the detailed content of How to clear dns cache in mac os x system. For more information, please follow other related articles on the PHP Chinese website!