Ubuntu seems to change the way it configures the nameservers.
to be able to add nameservers what you need to do is:
edit this file
And add to the list
dns-nameservers 184.108.40.206 220.127.116.11 (spaces between the nameservers)
then if you are using VM for example
you can switch off and switch on your network card by typing
Obviously don’t do it if you are connected using SSH as you will loose connection.
Knows a better way of doing it?
Please leave comments and share and I will shall update this post for everybody benefit.