clear max dns cache code example
Example 1: how to flush dns on mac
dscacheutil -flushcache; sudo killall -HUP mDNSResponder
Example 2: macos clear dns cache
macbook$ sudo killall -HUP mDNSResponder;sudo killall mDNSResponderHelper;sudo dscacheutil -flushcache