Clear DNS cache

An Alfred 2 Workflow for clearing your OS X DNS cache on Mountain Lion (10.8), Lion (10.7), and Snow Leopard (10.6).

Administrative privileges are required to clear the cache and the workflow will prompt you for your administrator password on execution.

If you don’t trust me, you should review the workflow AppleScript or execute the relevant commands in terminal manually.

Download: Clear-DNS-cache.alfredworkflow

Note: I haven’t had a chance to actually test this on 10.6 or 10.7, so if you have any trouble on those systems, please let me know.

P.S. If you haven’t already, check out Piranhas. Piranhas searches through five Amazon country-specific stores to find the cheapest source for your books and does all the necessary currency conversions, so you don’t have to.