networking ubuntu

Just a bunch of handy commands

How to clear dns cache: sudo systemd-resolve –flush-caches
How to check cache: sudo systemd-resolve –statistics
How to view dns cache content sudo pkill -USR1 systemd-resolve
  sudo journalctl -u systemd-resolved > ~/resolved.txt
   
   
   
   
   
   

 

Was this helpful?

1 / 0

Cookie Consent with Real Cookie Banner