How Do I Perform a Flush DNS?

To perform a flush DNS (Domain Name System) on your computer, follow these steps:

On Windows:

  1. Open the Command Prompt: Click the Windows Start menu, type "cmd" into the search bar, and click "Command Prompt."
  2. Type the following command and press Enter: "ipconfig /flushdns"
  3. Wait for the message "Successfully flushed the DNS Resolver Cache" to appear.
  4. Close the Command Prompt.

On macOS:

  1. Open the Terminal: Click the Launchpad icon in the Dock, search for "Terminal," and click to open it.
  2. Type the following command and press Enter: "sudo killall -HUP mDNSResponder"
  3. Enter your administrator password if prompted.
  4. Wait for the command to finish executing.
  5. Close the Terminal.

On Linux:

  1. Open the Terminal: Open the Applications menu, search for "Terminal," and click to open it.
  2. Type the following command and press Enter: "sudo /etc/init.d/nscd restart"
  3. Wait for the command to finish executing.
  4. Close the Terminal.

Flushing the DNS cache can help resolve issues with domain name resolution, such as incorrect or outdated IP addresses. By clearing the cache, your computer will retrieve updated DNS information from the DNS server the next time it needs to resolve a domain name.

  • 2 Users Found This Useful
Was this answer helpful?

Related Articles

How do I restore a MySQL database?

Login to cPanel: Go to Hosterbox.com and login to your cPanel account using your username and...

How do I block certain IP's from hitting my website?

To block certain IP addresses from accessing your website in cPanel, follow these steps: Log...

Basic Email Help

Here's a step-by-step tutorial on how to set up email in cPanel: Log in to your Hosterbox...

How to ping from Windows?

To "ping" a site in Windows:1. Choose Start - Run2. Type in "CMD" or for win98...

How to upload a website to your new web hosting account

How to upload a website to your new cPanel web hosting account with Hosterbox.com: Log in to...