dns flush but not mac code example Example: how to flush dns on mac Click to copydscacheutil -flushcache; sudo killall -HUP mDNSResponder