Clearing the DNS cache in Windows 10 it's easy. Follow these steps:
- Open from the command line (Click on 'Start Menu,' search for 'Run,' type 'cmd.exe,' and click OK.)
- Enter the following command: ipconfig /flushdns
Flushing DNS in Windows Vista and Windows 7 is very similar; however, due to Microsoft's security measures, you will need administrator privileges to clear the DNS cache.
Flush DNS on Windows Vista and Windows 7
- Click on the 'Start Menu,' go to 'All Programs' > 'Accessories,' right-click on 'Command Prompt,' and click 'Run as administrator.'
- Enter the following command: ipconfig /flushdns
DNS flush on Mac OS X
Flushing DNS on Mac OS X is also straightforward, but the steps may vary depending on the version of OS X you are using.
For Mac OS X Leopard, should perform the following steps:
- Open Terminal (Search in Spotlight for 'Terminal.')
- Run the following command: dnscacheutil -flushcache
For Mac OS X 10.5.1 or earlier versions, you should follow these steps:
- Open Terminal (Search in Spotlight for 'Terminal.')
- Run the following command: lookup -flushcache
Flush DNS on Linux
If your DNS service in Linux is NSCD (Name Service Cache Daemon), then you'll need to execute the following instructions:
- Open the terminal as root, or you can execute the command from the following step with 'sudo.'
- Enter the following command: /etc/init.d/nscd restart
If you are connected to a network with a modem or router, reset the device after completing the DNS flush procedure for better results.