Clearing DNS Cache in Google Chrome

  1. Open Google Chrome.
  2. In the address bar, enter the following URL and press Enter:
    chrome://net-internals/#dns
  3. On the page that appears, look for the "Clear host cache" button.
  4. Click on the "Clear host cache" button to flush Chrome's DNS cache.

Clearing System DNS Cache

In addition to clearing Chrome's DNS cache, you may also want to clear the system DNS cache to ensure that your operating system uses the updated DNS records. Below are the steps for different operating systems:

For Windows

  1. Open Command Prompt as Administrator.
  2. Type the following command and press Enter:
    ipconfig /flushdns

For macOS

  1. Open Terminal.
  2. Type the following command and press Enter:
    sudo killall -HUP mDNSResponder
  3. You may need to enter your password to execute the command.

For Linux

The method to clear the DNS cache on Linux varies depending on the distribution and DNS caching service in use:

  • For Ubuntu with systemd-resolved:
    sudo systemd-resolve --flush-caches
  • For other systems using nscd:
    sudo /etc/init.d/nscd restart

After completing these steps, both Google Chrome and your system should now use the updated DNS records.