I prefer the Google DNS servers (184.108.40.206/220.127.116.11) 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 18.104.22.168 nameserver 22.214.171.124 #OpenDNS nameserver 126.96.36.199 nameserver 188.8.131.52
- Reboot and ensure the settings took effect.
$ nslookup www.google.com Server: 184.108.40.206 Address: 220.127.116.11#53 ...
This procedure is tested on Ubuntu 14.04 (aka Trusty Tahr).