I'm too lazy to spend 1 minute every time I have to change DNS so I spent 10 minutes to wrote this script to do it quick. It currently supports Google, Open DNS and uFlix but it can support unlimited number of configurations. Get the script here: https://gist.github.com/daohoangson/60ce8e0317213bc45c30 Use it like switch-dns-to.sh google You will need to enter the user password.
Geek related stuff