DNS Clear Cache

From BNC4FREE
Revision as of 14:05, 23 November 2026 by Russell (talk | contribs) (Minor layout change)
Jump to navigation Jump to search

For Windows

  • Click Start or the Windows icon.
  • In the search text box, enter cmd.
  • Right-click Command Prompt and select Run as Administrator.

Run the following command:

ipconfig /flushdns


For MACOS

  • Click Applications.
  • Click Utilities.
  • Click Terminal.

Run the following command:

sudo killall -HUP mDNSResponder


For Ubuntu

To clear your DNS cache if you use Ubuntu, run the following command:

sudo resolvectl flush-caches


For Other Linux Systems

To clear your DNS cache if you use systems that are linux based other than Ubuntu, run the following command:

systemctl restart nscd