How to Flush DNS Cache in Windows, Apple macOS and Linux

SaveSavedRemoved 0
Deal Score0
Deal Score0
To flush the DNS cache on your computer, you can follow the steps specific to your operating system:
How to Flush DNS Cache in Windows, Apple macOS and Linux

Flush DNS Cashe in Windows

  1. Press the Windows key + X and click Command Prompt (Admin), or search for Command Prompt, right-click it, and select Run as administrator.
  2. In the Command Prompt window, type ipconfig /flushdns and press Enter.
  3. Wait for the confirmation message that says “Successfully flushed the DNS Resolver Cache.”

Flush DNS Cashe in Apple macOS

  1. Open the Terminal application.
  2. Type sudo killall -HUP mDNSResponder and press Enter.
  3. Enter your password when prompted.
  4. Wait for the confirmation message that says “mDNSResponder: Restarted.”

Flush DNS Cashe in Linux

  1. Open the Terminal application.
  2. Type sudo /etc/init.d/nscd restart and press Enter. (If you don’t have nscd installed, you can use sudo /etc/init.d/dns-clean restart instead.)
  3. Wait for the confirmation message that says “Restarting Name Service Cache Daemon.”

After you have flushed the DNS cache, you may need to restart your web browser and/or computer for the changes to take effect.

Here are some additional steps you can take to clear the DNS cache:

Clear DNS Cache in Android:

  1. Open the Settings app.
  2. Tap on Network & Internet.
  3. Tap on Advanced.
  4. Tap on Private DNS.
  5. Select the option to turn off Private DNS.
  6. Tap on Save.

Clear DNS Cache in iOS:

  1. Open the Settings app.
  2. Tap on Wi-Fi.
  3. Find your network and tap on the (i) icon.
  4. Tap on Configure DNS.
  5. Select the option to Manual.
  6. Tap on Add Server.
  7. Enter 8.8.8.8 or 8.8.4.4 as the DNS server address.
  8. Tap on Save.

Clear DNS Cache in Routers:

  1. Open your web browser and log in to your router’s administration page.
  2. Look for the DNS settings.
  3. If your router has a “Flush DNS Cache” or “Clear DNS Cache” option, click on it.
  4. If your router does not have this option, try restarting the router.

It’s worth noting that flushing the DNS cache can sometimes help resolve DNS-related issues, such as incorrect or outdated domain name resolution. However, it’s not a guaranteed fix for all problems and may not always be necessary. If you continue to experience issues after flushing the DNS cache, you may want to reach out to your internet service provider or a technical support professional for further assistance.

Here are a few more additional steps you can try if the previous methods don’t work:

Clear DNS Cache in Chrome:

  1. Open Chrome.
  2. In the address bar, type chrome://net-internals/#dns and press Enter.
  3. Click on Clear host cache.
  4. Click on the home icon to return to the main page.

Clear DNS Cache in Firefox:

  1. Open Firefox.
  2. In the address bar, type about config and press Enter.
  3. Click on the Accept the Risk and Continue buttons.
  4. In the search bar, type network.dnsCacheExpiration and press Enter.
  5. Double-click on the network.dnsCacheExpiration preference and set its value to 0.
  6. Restart Firefox.

Clear DNS Cache in Safari:

  1. Open Safari.
  2. Click on Safari in the top menu bar and select Preferences.
  3. Click on the Advanced tab.
  4. Check the box next to the “Show Develop menu in the menu bar.”
  5. Click on the Develop menu and select Empty Caches.
  6. Restart Safari.

It’s important to note that flushing the DNS cache will remove all cached DNS entries, which can temporarily slow down your internet browsing as your computer re-resolves domain names. However, this is typically a minor inconvenience that is quickly resolved as your computer caches new DNS entries.

Here are a few more additional steps you can try if the previous methods don’t work:

Clear DNS Cache in Ubuntu:

  1. Open the Terminal application.
  2. Type sudo systemd-resolve –flush-caches and press Enter.
  3. Wait for the confirmation message that says “Cache cleared.”

Clear DNS Cache in Chromebook:

  1. Open the Chrome browser.
  2. In the address bar, type chrome://net-internals/#dns and press Enter.
  3. Click on Clear host cache.
  4. Click on the home icon to return to the main page.

Clear DNS Cache in Windows 10:

  1. Click on Start and type “services.msc” in the search bar.
  2. Scroll down and find “DNS Client”.
  3. Right-click on it and select “Restart”.
  4. Wait for the service to restart.

If none of these steps resolve your DNS-related issue, it may be a good idea to contact your internet service provider or a technical support professional for further assistance. They can help diagnose and troubleshoot the problem, which may involve more advanced solutions.

Here are a few more additional steps you can try if the previous methods don’t work:

Flush DNS Cache in Chrome on Android:

  1. Open Chrome.
  2. In the address bar, type chrome://net-internals/#dns and press Enter.
  3. Click on Clear host cache.
  4. Click on the back button to return to the previous page.

Flush DNS Cache in Chrome on iOS:

  1. Open Chrome.
  2. Tap on the three dots in the top right corner of the screen.
  3. Tap on History.
  4. Tap on Clear browsing data.
  5. Select “Cached images and files” and “Cookies and site data”.
  6. Tap on Clear browsing data.

Flush DNS Cache in Firefox on Android:

  1. Open Firefox.
  2. Tap on the three dots in the top right corner of the screen.
  3. Tap on Settings.
  4. Scroll down and tap on Clear private data.
  5. Select “Cached data” and “Cookies”.
  6. Tap on Clear data.

Flush DNS Cache in Firefox on iOS:

  1. Open Firefox.
  2. Tap on the three dots in the bottom right corner of the screen.
  3. Tap on Settings.
  4. Scroll down and tap on Clear Private Data.
  5. Select “Cache” and “Cookies”.
  6. Tap on Clear Private Data.

If you continue to experience DNS-related issues after trying these additional steps, there may be a more complex issue at play, such as a problem with your network hardware or settings. In such cases, it may be best to contact your internet service provider or technical support professional for assistance.

TechPlusWhiz
Logo
Compare items
  • Cameras (0)
  • Phones (0)
Compare