Resetting the DNS cache is an ideal step to take when the name server is not responding properly on your mac. Resetting DNS is also the right way of letting your system know of any DNS change. This also helps you to registered any changes that you’ve made to /etc/hosts file without the need of rebooting your system.
However, most of the users do not know how the entire process of resetting and flushing DNS cache in mac works. In this guide today, we’ll guide you through this process. Applying them correctly will help you flush the DNS cache in macOS Catalina or Big Sur. So without any further delay, let’s look right into how to reset and flush DNS cache in macOS Catalina/Big Sur.
Also Read
FIX: Crunchyroll Black Screen When Streaming
Fix: macOS Monterey Not Connecting to WiFi
Continuity Camera Not Working After macOS update, How to Fix?
Fix: Cannot Change Folder Background Color in Mac (macOS Ventura)
How to Reset and Flush DNS Cache in macOS Catalina / Big Sur
- To start with, go to Spotlight Search on your system
- From there, type in Terminal and open it
- Then, type in the given line of code into Terminal and hit return:
- sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder
- Upon hitting return, it will ask you for a password. Simply type down your Mac OS user password and press return
- With that, you’ll have reset and flush the DNS Cache.
Even if the entire process runs successfully, you won’t receive any confirmation message or such. To see if the process was a success, you can try and run a dig or nslookup on a website that you want. That said, we hope reading the article above has equipped you with some bit of information. Please let us know by commenting down below if you have any further queries regarding the same.
- How to use Tile Windows Multitasking in macOS Catalina?
- Converting a Numbers File to CSV on macOS Catalina
- How to Enable Automatic Update Apps In MacOS Catalina and Mojave?
- How to Send Messages with iMessage Effects in macOS Big Sur
Also, check out our iPhone Tips and Tricks, PC tips and tricks, and Android Tips and Tricks if you’ve got queries for it or want help. Thank you!