Difference between revisions of "DNS Clear Cache"

From BNC4FREE
Jump to navigation Jump to search
m (→‎For Ubuntu: Update regarding the desktop version and how to access terminal)
Line 18: Line 18:
  
 
=== For Ubuntu ===
 
=== For Ubuntu ===
−
To clear your DNS cache if you use Ubuntu, run the following command:
+
To clear your DNS cache if you use Ubuntu, you will need to use terminal. The easiest way to access this using the desktop version is through 'Ctrl + Alt + T', you will then need to run the following command:
 
<pre>sudo resolvectl flush-caches</pre>
 
<pre>sudo resolvectl flush-caches</pre>
−
 
−
 
  
 
=== For Other Linux Systems ===
 
=== For Other Linux Systems ===

Revision as of 10:42, 28 November 2026

On occasion, we may migrate our servers or change them to a different location. Your computer may cache the original address of the old server when we make this change, below are instructions on how to clear your DNS cache so that you are able to access our servers through the new address when this change happens.

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, you will need to use terminal. The easiest way to access this using the desktop version is through 'Ctrl + Alt + T', you will then need to 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


Alternative Method (Not Recommended)

If all the above does not work, you may be able to still connect to the server. For Linux/Windows use the following:

nslookup [domain of the server] 8.8.8.8

This will give you the IP address of the server which can be connected to directly, but we strongly recommend that you connect via the 'bnc4free.com' hosts as these addresses may change.