sudo sh -c 'echo "nameserver 18.104.22.168" >> /etc/resolv.conf'
worked for me but did not survive a reboot.
it went back to 192.168.2.1
i noticed the default ip addess when i do ifconfig is 192.168.2.2 where is that coming from?
my /etc/network/interfaces only has one line, so where is it getting the 192.168.2.2 from????