In this documentation, we can check how to clear DNS cache in different operating systems.
LINUX
1) Open the terminal.
2) Use the following command to clear DNS cache.
/etc/init.d/nscd restart
Or
service nscd restart
Or
service nscd reload
Windows 7
1) Click the ‘Start’ menu.
2) Go to ‘All Programs’.
3) Choose ‘Accessories’ and right click ‘Command Prompt’.
4) Select ‘Run as Administrator’.
5) Run the following command.
ipconfig/flushdns
If the command succeeds, you will get the following message.
Windows IP configuration successfully flushed the DNS Resolver Cache.
Windows 8
1) Click on the ‘Windows Key’.
2) Right click on the ‘Command Prompt’ and select ‘Run as Administrator’.
3) Run the following command.
ipconfig/flushdns
If the command succeeds, you will get the following message.
Windows IP configuration successfully flushed the DNS Resolver Cache.
Mac
1) Open the terminal.
2) Run the following command to clear DNS cache in Mac.
lookup -flushcache
That is how we can clear DNS cache in different operating systems.
If you need any further help please reach our support department.