Difference between revisions of "DNS Clear Cache"
Jump to navigation
Jump to search
(Added as may be necessary for server changes and migrations) |
m (Minor layout change) |
||
| Line 1: | Line 1: | ||
| − | = | + | === For Windows === |
| − | |||
| − | == For Windows == | ||
* Click Start or the Windows icon. | * Click Start or the Windows icon. | ||
* In the search text box, enter cmd. | * In the search text box, enter cmd. | ||
| Line 9: | Line 7: | ||
| − | == For MACOS == | + | === For MACOS === |
* Click Applications. | * Click Applications. | ||
* Click Utilities. | * Click Utilities. | ||
| Line 17: | Line 15: | ||
| − | == 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, run the following command: | ||
<pre>sudo resolvectl flush-caches</pre> | <pre>sudo resolvectl flush-caches</pre> | ||
| Line 23: | Line 21: | ||
| − | == For Other Linux Systems == | + | === For Other Linux Systems === |
To clear your DNS cache if you use systems that are linux based other than Ubuntu, run the following command: | To clear your DNS cache if you use systems that are linux based other than Ubuntu, run the following command: | ||
<pre>systemctl restart nscd</pre> | <pre>systemctl restart nscd</pre> | ||
Revision as of 14:05, 23 November 2026
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