summaryrefslogtreecommitdiffstats
path: root/bin/change_dns
blob: 55d1b4cb372b18ae27c4f53add61cc9c8004c8d8 (plain)
1
sudo perl -pi -e 'if ( not s/^nameserver/#nameserver/) { s/^#nameserver/nameserver/;}' /etc/resolv.conf