Clear Ubuntu DNS cache (12.04 and later)

Ubuntu 12.04 and later use a version of dnsmasq to cache dns data locally. To clear this cache, open a terminal and:

sudo /etc/init.d/dnsclean start

It worked on my system anyway.

Advertisements
%d bloggers like this: