Clearing DNS Cache: Windows, Macintosh OS X and OS X 10.5, and Linux

Jan 31, 2009 20:08

DISCLAIMER: This document is not an official LiveJournal document. It is a resource document maintained by a fellow user. The original source of information is noted, where available. LiveJournal takes no responsibility for the information found in this document.

The DNS Cache stores information on the IP address that any given domain or subdomain points to. This is separate from your browser's cache of visited pages. Emptying your DNS Cache will force your computer to request updated DNS information. However, as your Internet Service Provider may also have cached DNS information, it may take up to approximately 48 hours to receive fully updated DNS information after a change has been made.

To empty your DNS Cache:

1. Open the Command Prompt or Terminal. If you are unsure how to do this, it is explained in the linked tutorial.

Windows 2000/XP/Vista:
2. Enter ipconfig /flushdns

Macintosh OS X:
2. Enter lookupd -flushcache

Macintosh OS X 10.5 (Leopard):
2. Enter dscacheutil -flushcache

Linux:
2. Restart the nscd daemon by entering /etc/init.d/nscd restart

troubleshooting, ~ cache

Previous post Next post
Up