Overclock.net banner

1 - 5 of 5 Posts

·
Banned
Joined
·
7 Posts
Discussion Starter #1
Hey guys I am wondering is there a way to clear dns cache in Linux like you can in windows? I look forward to hearing from you guys Thanks.
 

·
Loosing Vision
Joined
·
1,889 Posts
delete plz
 

·
Premium Member
Joined
·
9,494 Posts
win start key then CMD or right click win key select CMD or Elevated CMD

Then ipconfig /flushdns

then exit
He wants to know how to do it in LINUX

It depends on the distro, is it ubuntu? If so, first check to see if caching is even on.

ps ax | grep dnsmasq

If cachesize=0 its already off, if it is on, run this.

sudo /etc/init.d/dns-clean restart

sudo /etc/init.d/networking force-reload
 

·
Premium Member
Joined
·
5,047 Posts

·
Banned
Joined
·
7 Posts
Discussion Starter #5
Thanks for the help.
https://www.2daygeek.com/flush-clear-dns-cache-on-ubuntu-centos-debian-fedora-mint-rhel-opensuse/

https://www.cyberciti.biz/faq/rhel-debian-ubuntu-flush-clear-dns-cache/

https://beebom.com/how-flush-dns-cache-linux/





Couple of quick results from google. basically restating some of the things already said in previous post. Not really sure what flavor you are running so hence the extra links.



Kind Regards





Sent from my iPad using Tapatalk
 
1 - 5 of 5 Posts
Top