DNS (Domain Name System) translates domain names into IP addresses so that browsers can load the Internet as fast as possible. Use flush dns command to flush and clear dns cache ubuntu, Windows 10, Mac.
For example: Domain Name (example.com) IP Address(126.96.36.199)
Your DNS cache stores IP addresses of web servers that contain web pages that you have recently visited. Sometimes website did not get open, load incorrectly, respond 404 in order to correct that we have to reset DNS cache.
To renew DNS or to refresh DNS new settings you have to clear DNS Cache from your computer. By using the DNS flush command problem can resolve easily.
How to flush DNS cache Mac Operating System
To clear DNS cache on Apple OS based operating system, follow steps
Navigate to Application › Utilities › Terminal type and execute the following command.
sudo killall -HUP mDNSResponder
Clear DNS cache on Windows 10
Flushing DNS Windows 10 operating system is easy
Type cmd in the search box. Open Command Prompt as System Administration by right click on it. Type ipconfig /flushdns command to clear and reset DNS cache on your Windows 10.
How to clear DNS on Windows 7
To clear DNS cache on Windows 7 based operating system
Click Start button and find Run on it or Press the Windows logo key + R to invoke the Run box. Open Command Prompt by typing cmd in the search box.
Type ipconfig /flushdns command to flush DNS cache on your computer.
Ubuntu Clear DNS Cache Linux Operating System
To clear DNS cache on Ubuntu Linux based operating system, follow steps
Open up your Terminal or Ctrl + Alt + T. Type and Execute the following command.
sudo service network-manager restart
How to Flush DNS Cache in Linux(common) Operating System
Open up your terminal. Type and Execute the following command.