Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Use 1.1.1.1, new Cloudflare DNS server
  • Loading branch information
eko committed Apr 2, 2018
1 parent 467a0c2 commit ecc12ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .functions
Expand Up @@ -156,7 +156,7 @@ function gify {
ffmpeg -i $1 -vf scale=$ratio -r $fpm -ss $3 -t $4 $2
}

# Sets FDN (French Data Network) open DNS servers on a network interface
# Sets Cloudflare DNS servers on a network interface
function opendns() {
echo "Select the network interface:\n1) Belkin USB-C LAN\n2) Wi-Fi"
read n
Expand All @@ -168,7 +168,7 @@ function opendns() {
esac

echo "\n-> Setting open DNS servers on network interface '$selected'"
networksetup -setdnsservers $selected 9.9.9.9 8.8.8.8
networksetup -setdnsservers $selected 1.1.1.1 1.0.0.1
}

# Automatically Starting tmux on SSH
Expand Down

0 comments on commit ecc12ee

Please sign in to comment.