Articles on: About Lauth

Connection Issues: How to Clear DNS Cache (MacOS)

Are you having trouble accessing a website or using a feature in Lauth?

This may be due to the DNS cache storage on your physical device. The local DNS cache stores the locations (IP addresses) of servers you have recently viewed. Updating this cache is done automatically by your computer, but you can force it for better Lauth functionality and, consequently, other applications.

So, here's a tip for you to learn how to reset your DNS cache, removing all invalid entries. *Remember that it's ideal to check if the issue is not with the internet before proceeding.

Click on the magnifying glass icon in the Menu Bar or use the shortcut: ⌘ + Space Bar to find the Terminal app in the search bar.
Open Terminal and type (or copy and paste) the command:

sudo killall -HUP mDNSResponder


Press enter (⏎ return).
The word Password will appear; then, enter your Mac password.
Press enter (⏎ return) again.
Close the Terminal app (⌘+Q).

Terminal Commands

Attention! The terminal should not generate any confirmation after the procedure. To confirm if it worked, return to the problematic resource or page and test to see if it functions.

Many might use:



sudo dscacheutil -flushcache


But this is recommended only up to 10.6, Snow Leopard.

In Yosemite (10.10):



sudo discoveryutil mdnsflushcache


From Lion (10.7) upwards, except Yosemite (10.10), the command already shown is:



sudo killall -HUP mDNSResponder


Updated on: 15/06/2023

Updated on: 12/06/2023

Was this article helpful?

Share your feedback

Cancel

Thank you!