Clean Linux DNS cache: Difference between revisions

From LinuxizeNet
(Created page with "<div style = "line-height: 1.2"> {{clear}}</div></div><div style = "margin-top: 1.5em; border: 3px solid #ae8c55; border-radius: .5em; padding: 1em 1.5em; font-size: 1.2em"> <strong></strong> In order to clean systemd-resolved cashe: * Run the following command: <syntaxhighlight lang="Bash"> sudo resolvectl flush-caches </syntaxhighlight> Category:Linux Category:Howto")
 
(Remove inert legacy #ae8c55 wrapper (superseded by site CSS))
 
Line 1: Line 1:
<div style = "line-height: 1.2">
{{clear}}
{{clear}}</div></div><div style = "margin-top: 1.5em; border: 3px solid #ae8c55; border-radius: .5em; padding: 1em 1.5em; font-size: 1.2em">
<strong></strong>
In order to clean systemd-resolved cashe:
In order to clean systemd-resolved cashe:
* Run the following command:
* Run the following command:
Line 7: Line 5:
sudo resolvectl flush-caches
sudo resolvectl flush-caches
</syntaxhighlight>
</syntaxhighlight>


[[Category:Linux]]
[[Category:Linux]]
[[Category:Howto]]
[[Category:Howto]]

Latest revision as of 21:02, 9 August 2026

In order to clean systemd-resolved cashe:

  • Run the following command:
sudo resolvectl flush-caches