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

Tutorial: Backup and Restore iptables Configuration

This step-by-step guide will walk you through backing up your current iptables configuration and restoring it when needed. Prerequisites ...