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

Previous post: e-Deklaracje Linux

Next post: Flash I Silverlight


More posts on this topic

Comments

Add a New Comment
or Sign in as Wikidot user
(will not be published)
- +
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License