Created
July 30, 2016 21:16
-
-
Save fivethreeo/b8ed43d71c207a303ae96874067a23e8 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
chattr -i /etc/resolv.conf | |
mv /etc/resolv.conf /etc/resolv.conf.bak.$(date +%FT%H%M) | |
echo nameserver 185.56.187.149 >/etc/resolv.conf | |
echo nameserver 87.238.35.136 >>/etc/resolv.conf | |
chattr +i /etc/resolv.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment