I prefer the Google DNS servers (220.127.116.11/18.104.22.168) for faster DNS resolution. While the procedure to set it on Unity is trivial, setting it on LXDE needs little more effort.
- Edit /etc/NetworkManager/NetworkManager.conf and comment out the line starting with dns.
dns=dnsmasq to #dns=dnsmasq
- Edit /etc/resolv.conf and add the preferred nameservers before any other entries.
#Google nameserver 22.214.171.124 nameserver 126.96.36.199 #OpenDNS nameserver 188.8.131.52 nameserver 184.108.40.206
- Reboot and ensure the settings took effect.
$ nslookup www.google.com Server: 220.127.116.11 Address: 18.104.22.168#53 ...
This procedure is tested on Ubuntu 14.04 (aka Trusty Tahr).