Skip to content

Instantly share code, notes, and snippets.

@mehul0810
Created November 14, 2021 05:07
Show Gist options
  • Save mehul0810/759dcd89aedea89ddc180a98ff2c1762 to your computer and use it in GitHub Desktop.
Save mehul0810/759dcd89aedea89ddc180a98ff2c1762 to your computer and use it in GitHub Desktop.
This macos terminal command will flush the DNS cache. This will help to make the internet working when WIFI is connected and internet not working.
sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment