DNS Clear Cache

From BNC4FREE
Revision as of 14:04, 23 November 2026 by Russell (talk | contribs) (Added as may be necessary for server changes and migrations)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Clear your DNS Cache

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