Flush dns cache on Mac

When registering a new domain your internal cache can prohibit you from accessing the server. Here is how to flush the dns cache on a Mac:

$ dscacheutil -flushcache