Skip to content

Instantly share code, notes, and snippets.

@fcaldarelli
Last active September 14, 2023 08:53
Show Gist options
  • Save fcaldarelli/817c0eb7a078f0786d2e34baac925cd2 to your computer and use it in GitHub Desktop.
Save fcaldarelli/817c0eb7a078f0786d2e34baac925cd2 to your computer and use it in GitHub Desktop.
networksetup -listallnetworkservices
sudo networksetup -setdnsservers Ethernet 8.8.8.8 8.8.4.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment