diff options
Diffstat (limited to 'bin/change_dns')
-rwxr-xr-x | bin/change_dns | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/change_dns b/bin/change_dns new file mode 100755 index 0000000..55d1b4c --- /dev/null +++ b/bin/change_dns @@ -0,0 +1 @@ +sudo perl -pi -e 'if ( not s/^nameserver/#nameserver/) { s/^#nameserver/nameserver/;}' /etc/resolv.conf |