Trying to flush the local DNS cache. How is this done on Snow Leopard?

Using System Preferences and using the terminal?

2 Answers 2



sudo dscacheutil -flushcache


sudo killall -HUP mDNSResponder

In 10.6 the handling of Unicast DNS is now managed by mDNSResponder - dscacheutil -flushcache now just tells mDNSResponder to restart (the second command above).

dscacheutil -flushcache
  • can it be done via pref pane?
    – jdiaz
    Commented Sep 9, 2010 at 20:34
  • 2
    @jdiaz No. There is no option in System Preferences to flush the DNS cache.
    – ghoppe
    Commented Sep 9, 2010 at 21:28
  • 1
    After I upgraded to OS X Lion, dscacheutil -flushcache does not seem to work anymore on my system. Using Chealion's suggestion of sending a HUP signal to mDNSResponder does still work for me though.
    – user5118
    Commented Aug 5, 2011 at 11:47

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .