Menu
Web Host Pro Logo
  • Home
  • News
  • Servers
  • Websites
  • WordPress
  • Business
Web Host Pro Logo
network dns
January 11, 2024

Clearing Your DNS Cache

Share it here

Clearing Your DNS Cache

Your DNS cache stores the locations (IP addresses) of pages you have recently viewed. If the location of the page changes before the entry in your DNS cache is updated, you will be unable to access the page.

If you are encountering a high number of HTML 404 error codes, you may need to flush your DNS cache. Once you clear your DNS cache, your computer will query nameservers for the new DNS information you require.

For more information about the HTML 404 error code, please visit the HTML 404 Wikipedia article.

The methods detailed below allow you to remove old and inaccurate DNS information that may result in 404 errors.

Clearing the DNS cache on a device can often resolve internet connectivity issues, like problems accessing websites or online services. The process varies depending on the operating system of the device. Here’s a guide to the most common systems:

For Windows:

  1. Open Command Prompt: Press Windows key + R, type cmd, and press Enter.
  2. Run the Flush Command: Type ipconfig /flushdns and press Enter. You should see a message confirming the DNS Resolver Cache has been flushed.

For macOS:

  1. Open Terminal: You can find it in Applications under Utilities, or search for it using Spotlight.
  2. Run the Flush Command: The command varies by macOS version. For recent versions (macOS Sierra and later), type sudo killall -HUP mDNSResponder and press Enter. Enter your password when prompted.

For Linux:

  1. Open Terminal: You can usually find it in your applications menu or search for it.
  2. Flush DNS Cache: The command depends on the service used for DNS caching. For a system using systemd-resolved, type sudo systemd-resolve --flush-caches.

For Android:

  1. Restart Your Device: Android doesn’t typically provide a built-in option to flush the DNS cache. Restarting the device is usually the most straightforward way.
  2. Use a Third-Party App: Some apps can manage this, but be cautious about permissions and security.

For iOS:

  1. Enable Airplane Mode: Go to Settings, and toggle Airplane Mode on, wait a few seconds, then turn it off.
  2. Restart Your Device: If toggling Airplane Mode doesn’t work, try restarting your iOS device.

Remember, after clearing the DNS cache, your device might take a little longer to load websites as it rebuilds the cache with new DNS information.

Continue Reading

← Optimizing your laptop
Mac vs PC in 2026 →

Connect with us
WordPress

Web Host Pro websites, vps, and servers

Recent Posts

  • Free Website, DNS, Email, and Network Tools from Web Host Pro

    Free Website, DNS, Email, and Network Tools from Web Host Pro

  • The New Acronym Reshaping Big Tech in the AI Era

    The New Acronym Reshaping Big Tech in the AI Era

  • How to sell things online

    How to sell things online

  • The Rules for Success in 2026

    The Rules for Success in 2026

  • Cloud Hosting Explained

    Cloud Hosting Explained

  • Top 3 Myths About the Web Hosting Industry

    Top 3 Myths About the Web Hosting Industry

  • The New Era of Data Center Careers

    The New Era of Data Center Careers

  • Most popular web builder

    Most popular web builder

  • Do We Still Need “http://”?

    Do We Still Need “http://”?

  • How to Start a WordPress Blog in 2026

    How to Start a WordPress Blog in 2026

  • WordPress Load Control

    WordPress Load Control

  • How to Add Video to WordPress in 2026

    How to Add Video to WordPress in 2026

  • Mac vs PC in 2026

    Mac vs PC in 2026

  • Top 5 Reasons Websites Load Slow

    Top 5 Reasons Websites Load Slow

  • A Website Problem That Almost Derailed A Business

    A Website Problem That Almost Derailed A Business

Popular Posts

Log in
All Rights Reserved Web Host Pro 2001-2026