Skip to primary content
Skip to secondary content

Vahan's Blog

UNIX tips and Mac OS X tricks

Vahan's Blog

Main menu

  • Home
  • Privacy Policy

Tag Archives: terminal

How to clear the DNS Cache in Mac OS X

Posted on August 30, 2011 by Vahan
Reply

To clear the DNS cache in MacOS X Leopard, Snow Leopard and Lion, enter this in your Terminal:

dscacheutil -flushcache

To clear the DNS cache in MacOS X Tiger, use the following command instead:

lookupd -flushcache
Posted in Mac OS X, Tips & Tricks, UNIX Administration | Tagged cache, dns, flush your cache, Mac OS X, macos x, shell, terminal, tips, tricks | Leave a reply

Recent Articles

  • Enable TRIM support on OS X 10.9.5 for 3rd-party SSDs
  • Enable TRIM support on OS X 10.9.4 for 3rd-party SSDs
  • How to create a bootable Mavericks USB installer disk
  • Samsung 840 Pro performance in Mac Mini i7 Late 2012
  • Enable dual screen support on AMD Radeon 6870 under OS X 10.8
  • Locating Photo Stream files in Finder on OS X 10.8 Mountain Lion
  • Updated fix for “Still waiting for root device” on OS X 10.8.3 Mountain Lion
  • LaCie 5big Thunderbolt 20Tb Blackmagic Disk Speed Tests
  • The hunt for the fastest SSD: Winter 2013 edition
  • Additional Gigabit Ethernet ports for your Mac

Archives

  • September 2014 (1)
  • July 2014 (1)
  • October 2013 (1)
  • August 2013 (1)
  • June 2013 (1)
  • May 2013 (1)
  • March 2013 (1)
  • February 2013 (3)
  • January 2013 (5)
  • December 2012 (1)
  • September 2012 (2)
  • August 2012 (6)
  • July 2012 (4)
  • February 2012 (1)
  • January 2012 (1)
  • December 2011 (2)
  • October 2011 (6)
  • September 2011 (6)
  • August 2011 (1)

Tags

  • 10.8
  • Apple
  • appletv
  • benchmarks
  • cache
  • command line
  • curl
  • Dashboard
  • dns
  • downloading files
  • fetch
  • flush your cache
  • ftp
  • gigabit ethernet
  • hackintosh
  • http
  • IOAHCIBlockStorage
  • IOAHCIFamily
  • Lion
  • Mac OS X
  • macos x
  • Mac OS X Lion
  • MobileBackups
  • Mountain Lion
  • moving stickies
  • Nixeus Vue 27"
  • oob
  • OS X
  • OS X 10.8
  • OS X Lion
  • OS X Mountain Lion
  • shell
  • Snow Leopard
  • Spotlight
  • ssd
  • Stickies widget
  • Still waiting for root device
  • terminal
  • thunderbolt
  • TimeMachine
  • tips
  • tricks
  • unix shell
  • virtualization
  • wget

A personal blog by Vahan Yerkanian