Say you want to use DNS servers 220.127.116.11 and 18.104.22.168.
In /etc/resolve.conf, have the following line:
nameserver 22.214.171.124 nameserver 126.96.36.199
and make sure there are no
dns-nameservers lines in /etc/network/interfaces.
In /etc/dhcp/dhclient.conf, have the following line:
supersede domain-name-servers 188.8.131.52, 184.108.40.206;
Restart the networking service:
$ sudo /etc/init.d/networking restart
Check if the DNS server is used:
$ dig somehost.com ... ;; SERVER: (should see the DNS server here) ...