The easiest to add or edit the dns servers your server uses is to edit the file at /etc/resolv.conf and then add dns entries in the following manner

So I’ve gone and set one each of Google’s DNS servers and OpenDNS servers and then their secondary IP’s.

Restart network and you’re golden.