Linux / UNIX set the DNS from the command line
How do I set the DNS nameserver from the command line without using the Network Administration GUI Tool under Linux? ... why do you edit resolve.conf directly? Boot, and see if your changes are still there. This file gets overwritten. You need to use /etc...