Fix the Web: How to Flush Your DNS Cache

Flushing your DNS cache can help to resolve issues with web pages not loading properly or showing outdated information. Here are the steps to flush your DNS cache on a few popular operating systems:

Windows:

MacOS:

Linux:

Ubuntu:

  1. Open a terminal window by pressing “Ctrl+Alt+T”
  2. Type the following command “sudo systemd-resolve –flush-caches” and press enter
  3. You will be prompted to enter your admin password.
  4. Once you enter your password, the DNS cache will be flushed.

Alternatively, you can use the following command to flush the DNS cache:

  1. Open a terminal window by pressing “Ctrl+Alt+T”
  2. Type the following command “sudo /etc/init.d/dns-clean restart” and press enter
  3. You will be prompted to enter your admin password.
  4. Once you enter your password, the DNS cache will be flushed.

Please note that flushing your DNS cache may cause a temporary interruption in your internet connectivity. Also, it’s important to mention that these steps are for Ubuntu specifically, other Linux distros may have different commands to flush the DNS cache.