Skip to main content
All CollectionsDolphin AntyFAQ
How to clear DNS cache
How to clear DNS cache
Updated over 5 months ago

What is DNS cache ? 🌐

The DNS cache stores the IP addresses of the web servers that host the web pages you have recently visited. Sometimes, this data may become outdated or incorrect, so you should delete it to improve your connection to the web servers.

If you need to clear the DNS cache, follow these steps.


🔹Windows

For each version of Windows, we recommend running the Command Prompt as an administrator due to the administrator rights settings.

In Windows 10, instead of the command line, the default command line is Windows PowerShell which is similar to the regular command line.


To clear it:

  1. Click Start in the lower left corner and type Command Prompt or PowerShell in the search box
    OR: Press WIN+R and type cmd, then press Enter

  2. In the window that opens, type the command ipconfig /flushdns.

  3. Press Enter on your keyboard

  4. Done! 👌

🔹MacOS

  1. Press CMD+Space

  2. Type "Terminal" and press Enter.

  3. In the window that opens, enter the command depending on your operating system version:
    macOS Sierra and later: sudo killall -HUP mDNSResponder
    Yosemite (10.10.4+): sudo killall -HUP mDNSResponder
    Yosemite (10.10-10.10.3): sudo discoveryutil mdnsflushcache.

  4. After entering the command, press Enter. Next, the terminal will prompt you for your account password. Just enter your password and press Enter again

  5. Done! 👌

🔹Linux

  1. Open Terminal (how you open it depends on what distribution you have)

  2. Next you need to enter the command, but it depends on what service your distribution uses:
    If your system uses nscd:

    sudo /etc/init.d/nscd restart or sudo systemctl restart nscd

    For dnsmasq:

    sudo systemctl restart dnsmasq.service

    For systemd-resolved:

    sudo systemd-resolve --flush-caches.

  3. After entering the command, press Enter. Next, the terminal will prompt you for your account password. Just enter your password and press Enter again

  4. Done! 👌


Did this answer your question?