Clearing DNS Cache in Google Chrome
- Open Google Chrome.
- In the address bar, enter the following URL and press Enter:
chrome://net-internals/#dns
- On the page that appears, look for the "Clear host cache" button.
- 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
- Open Command Prompt as Administrator.
- Type the following command and press Enter:
ipconfig /flushdns
For macOS
- Open Terminal.
- Type the following command and press Enter:
sudo killall -HUP mDNSResponder
- 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.