Created
March 17, 2019 02:43
-
-
Save justsml/dc95cad46053396a6eea097b3d35a36b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
echo "> CURRENT DNS SERVERS:" | |
networksetup -getdnsservers Wi-Fi | |
networksetup -setdnsservers Wi-Fi \ | |
9.9.9.9 1.1.1.1 8.8.8.8 | |
# Quad 9 Cloudflare Google | |
echo "> DNS SERVERS UPDATED" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment