Flushing the DNS resolver cache helps fix DNS related problems in Microsoft Windows 10. Issues like website not found or viewing certain webpages that have since changed.
- Select the “Start” button, then type “cmd“.
- Right-click “Command Prompt“, then choose “Run as Administrator“.
- Type ipconfig /flushdns then press “Enter“. (be sure there is a space before the slash)
Select the “Start” button, then type “powershell“.
Select “Windows PowerShell“.
Type the following command, then press “Enter“:
This post also applies to Windows 10, 8, 7, XP, 2000, 2003 and 2008!
Note: Various distributions and versions of Linux have slightly different commands from the differences in configuration. One of the commands below should work.
- Open up a root terminal window (Ctrl+T in Gnome).
Type the following command and hit enter:
- You may need to use sudo depending on your installation instead:
sudo /etc/init.d/nscd restart
- Some distributions support this command:
sudo /etc/init.d/dns-clean start
- Or support this command:
sudo service nscd restart
- Some installations may have NSDS located in another directory, like the following example. You may need to locate where it is installed to be able to execute the correct command.
- /etc/rc.d/init.d/nscd restart
Restart your application (browser or email client).