How to clean DNS Cache Linux

This is rarely the case, but sometimes to run certain services on Linux let alone who need access online is still using the old DNS data. So if for example we change the domain or want to download the file that the server IP just changed.

Because I’m lazy to wait and indeed urgent urgent I finally find a solution, ie clean DNS cachenya that exist on the Linux server. 😀 It was easy.

CentOS (usually)

service nscd restart


service dnsmasq restart

If it fails all ya have to edit the hosts file in Linux. 😀

Pos terkait

Tinggalkan Balasan

Alamat email Anda tidak akan dipublikasikan. Ruas yang wajib ditandai *

Situs ini menggunakan Akismet untuk mengurangi spam. Pelajari bagaimana data komentar Anda diproses.