How To Clear Server Cache Cpanel
How to clear local DNS cache
This guide describes how to clear local DNS cache on different operating systems:
Mac OS
Windows
- Windows XP
- Windows 7 or Vista
- Windows 8/10
Linux
Mac OS
1. Open the Terminal.app, either by starting typing Terminal on the Spotlight or by going into Applications.
3. Run one of the following commands depending on the version of OS X you're using and press Enter, then type your user password when prompted:
- MacOS Catalina
sudo killall -HUP mDNSResponder
- MacOS Mojave
sudo killall -HUP mDNSResponder;say DNS cache has been flushed
or
sudo killall -HUP mDNSResponder, sleep 2, echo macOS DNS Cache Reset | say
- MacOS Sierra and High Sierra
sudo killall -HUP mDNSResponder;say DNS cache has been flushed
- OS X El Capitan:
sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder;echo flushed

- OS X Yosemite:
sudo killall -HUP mDNSResponder

- OS X Mavericks, Mountain Lion, and Lion:
sudo killall -HUP mDNSResponder

Below you can find instructions on how to clear local DNS cache on different versions of Windows OS.
- Windows XP

2. Choose All Programs and click Accessories. Then click on Command Prompt:
3. In the Command Prompt window type in ipconfig /flushdns and press Enter:
4. You will see the following confirmation message: Successfully flushed the DNS Resolver Cache.
- Windows 7 or Vista

2. Click All Programs > Accessories > right-click on Command Prompt and choose Run as Administrator:
3. In the Command Prompt window type in ipconfig /flushdns and press Enter:
4. Once done, you will see the following message: Successfully flushed the DNS Resolver Cache.
- Windows 8/10
1. Press the Start button > Applications > type Command prompt in the search bar:
2. In the Command Prompt window type in ipconfig /flushdns and press Enter:
3. After the cache is cleared, you will get the following message: Successfully flushed the DNS Resolver Cache.
Linux OS
One of the most commonly used DNS-caching Linux applications is NSCD (Name Service Cachine Daemon). If you have NSCD installed, you can clear the local DNS cache by running one of the following commands in your favorite terminal/shell application:
sudo /etc/init.d/dns-clean start
sudo /etc/init.d/nscd restart

Another option to flush local DNS cache is to run the following command in the Terminal:
$ sudo systemd-resolve --flush-caches
You can check if the cache was flushed successfully, using this command:
$ sudo systemd-resolve --statistics

If you see a zero by the Current Cache Size, you have successfully flushed your system's cache.
Need any help? Contact our HelpDesk
How To Clear Server Cache Cpanel
Source: https://www.namecheap.com/support/knowledgebase/article.aspx/397/2194/how-to-clear-local-dns-cache/
Posted by: valdezeaut1966.blogspot.com
0 Response to "How To Clear Server Cache Cpanel"
Post a Comment