Last active
December 14, 2019 09:43
-
-
Save devlifeX/d2918f7af1d10409b5c82a52795b5c54 to your computer and use it in GitHub Desktop.
shecan DNS Changer
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 | |
sudo sed -i -e 's/nameserver/\#/g' /etc/resolv.conf | |
sudo sh -c 'echo "nameserver 178.22.122.100" >> /etc/resolv.conf' | |
sudo sh -c 'echo "nameserver 185.51.200.2" >> /etc/resolv.conf' | |
echo done! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment