how do you flush dns code example Example 1: flush dns sudo dscacheutil -flushcache Example 2: flush dns sudo killall -HUP mDNSResponder