Clear DNS Cache

Follow these steps to flush DNS Cache on Windows

Open a DOS command window. To do this, click Start, click Run, type cmd, and then press Enter.

At the command prompt, type the following flush DNS command and then press Enter:

ipconfig /flushdns

The DNS cache is now clear.

Follow these steps to flush DNS Cache on Mac

Open a terminal window. To do this, click Applications, click Utilities, and then click Terminal.

OS X Yosemite and later (OS X v10.10.4 or later):

sudo killall -HUP mDNSResponder

OS X v10.10 through v10.10.3

sudo discoveryutil mdnsflushcache

OS X Mavericks, Mountain Lion, and Lion

sudo discoveryutil mdnsflushcache

Mac OS X Snow Leopard

sudo dscacheutil -flushcache

The DNS cache is now clear.

Flush DNS Cache on LINUX / UNIX

Many Linux distributions do not use DNS caching at the operating system level. Instead, applications (such as web browsers) maintain their own internal caches. To clear an application's DNS cache, often all you have to do is restart the application.

If your Linux system does use a DNS caching service, please view the documentation for more detail