The Domain Name System (DNS) cache is a temporary storage on your device that saves the IP addresses of websites you've recently visited, helping to reduce network traffic and loading times. Sometimes, the cache can include outdated or problematic data, which can cause connection issues on your device, including VPN. When this happens, try clearing your DNS cache.
To clear your DNS cache on Windows:
- Click the Start menu in the bottom left corner of your screen.
- Type
command - Click Command Prompt. The window displays.
- In the command prompt window, type
ipconfig /flushdns - Press Enter/Return.
To clear your DNS cache on macOS:
- Open a Terminal window.
- Click the Launchpad icon in the Dock.
- Type
Terminalin the search field - Click Terminal.
- In the Terminal window, enter:
sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder. You may also need to input your computer's password. - Press Enter/Return.