Designer, front-end developer & PC gamer from Michigan.

Deal with domain propagation on a frequent basis? These commands come in handy for flushing the local DNS cache on your computer.

Mac OSX 10.10

dscacheutil -flushcache

Mac OSX 10.7 – 10.9

sudo killall -HUP mDNSResponder

Mac OSX 10.5 – 10.6

dscacheutil -flushcache

Mac OSX 10.4 and below

lookupd -flushcache


ipconfig /flushdns

Update: [10/13/2014] Just updated to included instructions for OSX 10.10 Yosemite.