Via Lattanzio,23 Milano
+39 02 36592025
info@synaptica.info

How to clear DNS cache on Ubuntu

How to clear DNS cache on Ubuntu

Operating systems such as Windows automatically create temporary records on all websites visited in the so-called DNS cache. The information contained is valid for a limited period of time. A DNS flush, i.e. a flushing of the cache, removes data from the system before the time limit expires.

For clear DNS cache open the terminal and type:

Type this another command:

The statistics will be displayed in the terminal. If you see that the “current cache size” is zero, you will get confirmation that your DNS cache has been cleared.

Reference

https://vitux.com/how-to-flush-dns-cache-on-ubuntu/