WP Snipp Ninja

3 easy steps to Clear DNS Cache in macOS Catalina

Author: WordPress Snippets | Posted on: September 12, 2020 |

macOS Clean DNS Cache

Step 1 to Clear DNS Cache in macOS Catalina – Open The Terminal Application

Launch the Terminal application on your Mac laptop. You can launch the terminal app via the top menu using the search icon.  Open the Search bar icon in the top right general menu and type Terminal. You will see the macOS Terminal Application like in the short video below.

How to Open the Terminal App in your macOS Laptop Video?

Step 2 to Clear DNS Cache in macOS Catalina – Add the command from below to clear the DNS Cache

Add the following command in the opened Terminal Application and hit Return

sudo killall -HUP mDNSResponder; sleep 2;

That’s it your DNS Cache is Flushed and you are ready to exit the Terminal application window.

How to Clear your macOS DNS Cache with Terminal Application Video?

Step 3 to Clear DNS Cache in macOS Catalina – Close your Terminal Application Window

Once when you clear your macOS DNS Cache with the Terminal Application and run the command from step 2 just type “exit” in the Terminal Window to save the session and logout from your macOS Terminal Window Application. When you type “exit” in the macOS Terminal Application Window you will see something like the message below and you are ready with Cleaning your DNS Cache for your macOS Catalina iOS. Close the Terminal window and you have your DNS Cache cleared with your default macOS Terminal Window Application.

Full Video with all 3 steps to Clear DNS Cache in macOS Catalina


How To flush your local DNS cache in Mac OS (up to El Capitan)

Repeat Step 1 from above and open your Terminal Application window and add this 2 commands as below

  1. Step 1 : Type the following command below and press Enter:
    1. dscacheutil -flushcache

  2. Step 2: Then type the second command from below and press Enter again:
    1. sudo killall -HUP mDNSResponder

Thank you for your time

If you find this article helpful please share it and subscribe to our Newsletter below for daily Tech Tips and tricks


About the Author

 WordPress Snippets

Hello my name is Dimitar Krumov I am from Sofia Bulgaria but live in Varna on the Black Sea coast.I am a Web Developer since 2002 working in different Web Projects most of them are international and business-related. Some of my knowledge and skills but not limited to WordPress, HTML, CSS, Google Stack, Analytics, SEO and more..

Follow WordPress Snippets on Social Media

Leave a Reply

Your email address will not be published. Required fields are marked *