How to Flush DNS Cache?

 

So you want to flush DNS Cache? Yes.

Which OS are you on?
1.Windows
2.Linux
3.Mac

Step 1 — Launch Windows command prompt console
Press the Windows+R key combination to open the Run dialog box.
Type cmd command and click the OK button:
Done. Next?

This will open a command prompt window.
I see it.

Step 2 — To flush DNS Use ipconfig /flushdns
command to clear DNS resolver cache on your computer.
Wait a few moments and you’ll see a confirmation that
DNS resolver cache has been flushed.
Ok, its done.

Great! DNS cache has been flushed.
Do you want to Replay this or Check for other OS?

[Sassy_Social_Share count="1" total_shares="ON"]

Clearing DNS cache on Linux is a pretty straightforward.
The syntax may vary depending on which Linux you’re running.OK.

Open up your terminal and execute the
sudo service network-manager restart Command.
Ok, its done.

Great! DNS cache has been flushed.
Do you want to Replay this or Check for other OS?

[Sassy_Social_Share count="1" total_shares="ON"]

If you’re on any other linux distribution, sudo /etc/init.d/nscd restart command will do the trick.Ok, I did that.

Great! DNS cache has been flushed.
Do you want to Replay this or Check for other OS?

[Sassy_Social_Share count="1" total_shares="ON"]

Lets see how we can flush DNS on Apple OS.
The command to clear DNS cache will differ depending on your macOS version.
OK.

To flush DNS on Sierra, navigate Application › Utilities › Terminal
and enter sudo killall -HUP mDNSResponder command:
Ok, its done.

Great! DNS cache has been flushed.
Do you want to Replay this or Check for other OS?

[Sassy_Social_Share count="1" total_shares="ON"]

If you’re on El Capitan, Open Application › Utilities › Terminal and enter:
sudo killall -HUP mDNSResponder .
Ok, its done.

Great! DNS cache has been flushed.
Do you want to Replay this or Check for other OS?

[Sassy_Social_Share count="1" total_shares="ON"]

Clear DNS cache on Yosemite by going to
Application › Utilities › Terminal and input:
sudo discoveryutil udnsflushcaches .
Ok, its done.

Great! DNS cache has been flushed.
Do you want to Replay this or Check for other OS?

[Sassy_Social_Share count="1" total_shares="ON"]

To erase outdated DNS cache, go to
Application › Utilities › Terminal and execute:
sudo killall -HUP mDNSResponder .
Ok, its done.

Great! DNS cache has been flushed.
Do you want to Replay this or Check for other OS?

[Sassy_Social_Share count="1" total_shares="ON"]

Proceed to Application › Utilities › Terminal
and flush DNS with this command:
sudo killall -HUP mDNSResponder .
Ok, its done.

Great! DNS cache has been flushed.
Do you want to Replay this or Check for other OS?

[Sassy_Social_Share count="1" total_shares="ON"]

Head over to Application › Utilities › Terminal use the following syntax:
sudo killall -HUP mDNSResponder .
Ok, its done.

Great! DNS cache has been flushed.
Do you want to Replay this or Check for other OS?

[Sassy_Social_Share count="1" total_shares="ON"]

If you are running Snow Leopard, jump to
Application › Utilities › Terminal and input:
sudo dscacheutil -flushcache .
Ok, its done.

Great! DNS cache has been flushed.
Do you want to Replay this or Check for other OS?

[Sassy_Social_Share count="1" total_shares="ON"]

You may clear DNS cache by going to
Application › Utilities › Terminal and entering:
sudo lookupd -flushcache .
Ok, its done.

Great! DNS cache has been flushed.
Do you want to Replay this or Check for other OS?

[Sassy_Social_Share count="1" total_shares="ON"]
Rated / based on customer reviews
,
Phone: