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.
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.
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!