> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://ajuda.lauth.com.br/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

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

1. 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.
2. Open Terminal and type (or copy and paste) the command:

```sudo killall -HUP mDNSResponder```

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

![Terminal Commands](https://storage.crisp.chat/users/helpdesk/website/8b1ec31f6bbcd800/2036e359-5660-45f6-ba8c-4e8aa8_dre1uf.png)

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](https://support.apple.com/en-us/HT202516) 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