How to Flush DNS Cache (Mac and Windows)

By default, most operating systems will cache IP addresses and other Domain Name System (DNS) records in order to fulfill future requests more quickly.

Then, once you change the nameservers for your domain > your computer will try to load old DNS of your domain and by this will fail to load the website.

It's most likely local DNS cache, in this case - to clear that, the client can do the following.

Important! For both Mac and Windows: Close all browser windows.

On a Mac:

1. Open the Terminal.
2. Run the following command

sudo killall -HUP mDNSResponder && echo macOS DNS Cache Reset

After clearing the DNS cache you can then try accessing the domain or website again that was having issues.

On Windows:

1. Launch the start menu by pressing the Windows key and search for “CMD.” This should return the command prompt.
2. Run the following command

ipconfig /flushdns

You will then see a confirmation that it has successfully flushed the DNS resolver cache.

Flushing DNS will clear any IP addresses or other DNS records from your cache. This can help resolve security, internet connectivity, and other issues.

After clearing the DNS cache, they can then try accessing the domain or website they were having issues with.

  • dns, flush dns, dns cache
  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

HostMaria - Windows Web Hosting with MySQL Databases - Shared SSD Cloud (UK) (Self-Managed)

Robust Windows SSD Cloud web hosting with MySQL databases = the perfect choice for webmasters...

What is shared hosting?

With shared web hosting the provider is responsible for all server maintenance. General...

Stackcp control panel

image source  https://www.20i.com/reseller-hosting WEB HOSTING TOOLS File Manager FTP...

HostMaria - Linux Web Hosting with MySQL Databases - Shared SSD Cloud (UK) (Self-Managed)

* 100 Gb space.-1 Tb traffic - 30 days Backups -  Free SSL Certificates - Unlimited domains...

Classified Sites for Free Advertising

In this article, we have discussed classified sites. First thing first, What are Classified...