Hopefully this was the last time I have to “google it” 🙂

Flush DNS cache on Mac

sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder; say cache flushed

To Change the DNS server

networksetup -setdnsservers WI-FI 8.8.8.8 8.8.4.4
Categories: cheatsheet

0 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *