How to Flush DNS Cache on Ubuntu 18.04 LTS?
How to Flush DNS Cache on Ubuntu 18.04 LTS?
First, Right click on the desktop, and then click on ‘Open terminal.’ After that, follow the methods below:-
Method 1: By using systemd-resolve
Step 1: First check DNS statistics by command below:-
sudo systemd-resolve –statistics
Step 2: Flush DNS cache by command below:-
sudo systemd-resolve –flush-caches
Step 3: Now, Check DNS statistics again
sudo systemd-resolve –statistics
Method 2: Using dns-clean
sudo /etc/init.d/dns-clean start
Thanks for watching, please like and subscribe
==============================================
YouTube Subscribe: https://goo.gl/4lCCN8
Patreon: https://www.patreon.com/TechMeSpot
Facebook: https://www.facebook.com/techmespot
Twitter: https://twitter.com/techmespot
Website: http://techmespot.com
#howto #FlushDnsCache #UbuntuTips
by TechMeSpot
linux dns server