Selasa, 10 Juni 2014

Flushing DNS Cache on Ubuntu 12.04

Honestly, I often facing this problem especially when managing and configuring my server.

In this tutorial, make sure nscd installed on your machine first. If it doesn't, the command will not working. In otherword, you can't flushing your DNS through this way.

sudo apt-get install nscd


#Status
sudo /etc/init.d/nscd status


#Starting
sudo /etc/init.d/nscd start


#Stopping
sudo /etc/init.d/nscd stop

#Clearing
sudo /etc/init.d/nscd restart

#Flushing DNS
sudo /etc/init.d/networking restart

#Cleaning DNS and start
sudo /etc/init.d/dns-clean start



This is the screen shot:


Tidak ada komentar:

Posting Komentar

Perbandingan Biaya & Performa AI Agent: Gemini Flash 2.5, GPT-4o-Mini, dan LLaMA Phi-3 Mini

Dalam pengembangan   AI Agent   untuk aplikasi production, dua hal utama yang selalu menjadi pertimbangan adalah   performa   dan   biaya op...