Useful oneliner to set your DNS to Google

12 Feb 2014 18:11

This thing eases things a lot when you deal with crappy internet connection (airport, AirBNB etc).

#!/bin/bash

echo nameserver 8.8.8.8 | sudo tee /etc/resolv.conf > /dev/null

Comments: 0

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License