Here are the updated ways to flush your DNS… This is helpful when changing domains around.

OSX 10.10

sudo lookupd -flushcache

OSX 10.10

sudo lookupd -flushcache