How To Flush DNS Cache

Basic command for DBA to flush DNS cache.

To flush DNS cache in Microsoft Windows :

C:>ipconfig /flushdns

To flush the DNS cache in Linux:

# /etc/rc.d/init.d/nscd restart

To flush the DNS cache in Mac OS X Leopard:

$ lookupd -flushcache

To flush the DNS cache in Mac OS X:

$ dscacheutil -flushcache

Certainly rebooting your computer always works.

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: