DNS Cache – How to Flush on macOS 10.6 Snow Leopard

dnssnow leopard

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

Using System Preferences and using the terminal?

Best Answer

Use

sudo dscacheutil -flushcache

or

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).