Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.