Return to Facebook   Twitter   Reddit   Instagram   Mastodon   ProtonMail
Support Center / How to flush DNS cache on Windows, Mac and Linux

How to flush DNS cache on Windows, Mac and Linux

This article covers ways on flushing your DNS cache on different operating systems in case your online information like DNS does not seem to change after connecting to the VPN server.


Open CMD with administrator rights.

Type this in the new window:

 ipconfig /flushdns


Please open Terminal first.

According to your operating system version, type in these commands and enter root(user account) password to flush DNS cache.

OS X 12 (Sierra) and later

sudo killall -HUP mDNSResponder;sudo killall mDNSResponderHelper;sudo dscacheutil -flushcache

OS X 11 (El Capitan) and OS X 12 (Sierra)

sudo killall -HUP mDNSResponder

OS X 10.10 (Yosemite)

Versions 10.10.4+

sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder

Versions 10.10.1, 10.10.2, 10.10.3

sudo discoveryutil udnsflushcaches


Open Terminal and type in this command:

sudo /etc/init.d/nscd restart

Now please reconnect to the VPN server and check whether your online information is displayed correctly on the


Leave a Reply

Your email address will not be published. Required fields are marked *

Don't find your answer? We're happy to help you!     Contact Our Support Team

Secure your internet

Get ProtonVPN

For customer support inquiries, please submit the following form for the fastest response:

For all other inquiries:

You can also Tweet to us: