Ubuntu flush DNS cache

To flush DNS cache in Ubuntu:

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