Flushing OS X DNS cache
I don’t know why it took me so long to learn this but this command is very handy:
dscacheutil -flushcacheupdate: I originally posted that the command was dnscacheutil. It’s actually just dscacheutil. I’ve fixed it above. I also learned this is a Leopard-only tool.
It’s equivelant to the following Windows, which was always very handy when changing DNS configuration around:
ipconfig /flushdns