Windows has ipconfig /flushdns.
ipconfig /flushdns
The Mac equivalent is lookupd -flushcache.
lookupd -flushcache