resolvconf

First, install the resolvconf package, then run

sudo nano /etc/resolvconf/resolv.conf.d/head

Do not touch warning /etc/resolv.conf is autogenerated, so the warning is there so it will get put in /etc/resolv.conf when /etc/resolv.conf is generated.
To the end of the file, add

nameserver

To finish up, regenerate /etc/resolv.conf so the changes are applied right now:

sudo resolvconf -u