Skip to content

Instantly share code, notes, and snippets.

Avatar

_Cryptoscott_ CryptoScott

View GitHub Profile
@CryptoScott
CryptoScott / dns_changer.sh
Last active Oct 29, 2018
Automated DNS changer in Linux
View dns_changer.sh
#!/bin/sh
echo '#Generated by network manager' > /etc/resolv.conf
echo nameserver 37.235.1.177 >> /etc/resolv.conf
echo nameserver 37.235.1.174 >> /etc/resolv.conf
echo nameserver 84.200.69.80 >> /etc/resolv.conf
echo nameserver 84.200.70.40 >> /etc/resolv.conf
echo nameserver 91.239.100.100 >> /etc/resolv.conf
echo nameserver 89.233.43.71 >> /etc/resolv.conf