how to flush dns cache

November 21st, 2009 by Andrea Matesi 991 Views

Recently I was making some modifications to my website, in fact, I moved the whole site from a windows server to a linux one.

After almost 24h (and once OpenDNS online servers got updated), I was still browsing the old one, so I discovered the problem was lying inside my client's DNS cache. I found many suggestions, but the bullet proof™ ones (at least for me!) are the following:

how to clean windows dns cache:

ipconfig /flushdns

how to clean ubuntu dns server, dns cache:

rndc flush

how to clean MAC OS X dns cache:

sudo dscacheutil -flushcache

Posted in System Administration | Comments Off on how to flush dns cache