Both questions can be answered/cleared with the below process; Open a terminal and give the command
Originally Posted by laurenipsum
Look for a line that seems like this:
sudo gedit /etc/dhcp3/dhclient.conf
Remove the "#" from the front, and add the OpenDNS servers as mentioned before, Eg the changed line should read
#prepend domain-name-servers 127.0.0.1;
Note the semi-colon at the end of the comma-seperated list.
prepend domain-name-servers 188.8.131.52, 184.108.40.206;
Now, restart networking to make the changes take effect;
Check your /etc/resolv.conf file, it should now only list the OpenDNS servers.
sudo /etc/init.d/networking restart