The old way to flush the DNS cache in versions of MacOS X prior to Lion was to run the command:
dscacheutil -flushcache
This doesn’t work for me in Lion. To flush the DNS cache in Lion, run:
sudo killall -HUP mDNSResponder
The old way to flush the DNS cache in versions of MacOS X prior to Lion was to run the command:
dscacheutil -flushcache
This doesn’t work for me in Lion. To flush the DNS cache in Lion, run:
sudo killall -HUP mDNSResponder